π ~1 min read
Table of contents
Symptom & Impact
Security updates do not apply automatically, increasing exposure window.
Environment & Reproduction
Ubuntu 24.04 LTS with unattended-upgrades enabled and one or more held packages.
Root Cause Analysis
Package hold markers or unresolved dependency graph prevent noninteractive upgrade execution.
Quick Triage
Check apt-mark showhold and inspect unattended-upgrades logs under /var/log/unattended-upgrades.
Step-by-Step Diagnosis
Identify held packages and simulate upgrade resolution with apt -s full-upgrade.

Solution – Primary Fix
Remove unnecessary holds, repair dependencies with apt -f install, and rerun unattended-upgrade –dry-run.
Still having issues? Our Managed IT Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Pin critical packages with explicit apt preferences while allowing remaining security updates.
Verification & Acceptance Criteria
Dry-run and scheduled unattended-upgrades complete without blocked package entries.
Rollback Plan
Reapply package hold state for specific components if update introduces known regressions.
Prevention & Hardening
Review hold list monthly and maintain a documented exception process for deferred updates.
Automate patch management and compliance across your fleet with our DevOps services.
Related Errors & Cross-Refs
dpkg interrupted state and stale apt lock files can also prevent automated patching.
Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.
View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu unattended-upgrades operations and apt package hold management documentation.
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.