π ~1 min read
Table of contents
Symptom & Impact
APT reports unmet dependencies, preventing updates, package installs, and application deployment tasks.
Environment & Reproduction
Common after interrupted upgrades on Ubuntu 22.04 LTS or mixed third-party repository states.
Root Cause Analysis
Package versions in local metadata no longer align with installed packages or enabled repositories.
Quick Triage
Check held packages and repository consistency before forcing removals.
Step-by-Step Diagnosis
Inspect broken dependency chains and package policies to find conflicting versions.

Solution – Primary Fix
Repair broken state, complete pending configurations, then run a full upgrade.
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
Temporarily disable conflicting PPAs or pin package versions until repository alignment is restored.
Verification & Acceptance Criteria
apt check reports no issues and package installation succeeds without dependency errors.
Rollback Plan
Re-enable previous repository files from backup and restore package state from snapshot if needed.
Prevention & Hardening
Use staged upgrades and avoid mixing unsupported repositories on production Ubuntu systems.
Related Errors & Cross-Refs
Linked with apt lock, repository signature, and held package conflicts.
Related tutorial: View the step-by-step tutorial for Ubuntu 22.04 LTS.
View all Ubuntu 22.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Review Ubuntu apt troubleshooting guides and man apt-mark.
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.