π ~1 min read
Table of contents
Symptom & Impact
Security patches stop applying automatically, increasing vulnerability exposure and creating compliance reporting gaps.
Environment & Reproduction
Occurs when key packages are manually held, pin priorities conflict, or dependency chains require interactive resolution.
Root Cause Analysis
unattended-upgrades cannot resolve package graph changes when version holds block required dependency transitions.
Quick Triage
Review unattended-upgrades logs, identify held packages, and assess whether holds are still operationally necessary.
Step-by-Step Diagnosis
Run apt-mark showhold, simulate upgrades, and inspect policy priorities for blocked dependency paths.

Solution – Primary Fix
Clear obsolete holds, adjust pinning strategy, repair package state, and re-run unattended-upgrades with validation.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Move sensitive packages to managed maintenance windows or use phased rollout tooling for controlled version adoption.
Verification & Acceptance Criteria
Automatic upgrade cycles should complete successfully and include expected security updates without manual intervention.
Rollback Plan
Reapply temporary package holds if critical compatibility issues emerge, with explicit expiration and review dates.
Prevention & Hardening
Track hold rationale in change records and monitor unattended-upgrades health to prevent silent patching drift.
Related Errors & Cross-Refs
Related incidents include apt lock contention, signature errors, and dependency breakage during major repository transitions.
Related tutorial: View the step-by-step tutorial for Ubuntu 20.04 LTS.
View all Ubuntu 20.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
See unattended-upgrades docs, apt pinning references, and Ubuntu security patch management best practices.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.