📖 ~1 min read
Table of contents
Symptom & Impact
apt upgrade stops with unmet dependencies or held broken packages. Critical patches are delayed and application installs fail.
Environment & Reproduction
Ubuntu 22.04 with mixed repositories, interrupted upgrades, or third-party .deb installs. Reproduce by interrupting apt mid-transaction.
Root Cause Analysis
Package dependency graph is inconsistent due to partial configuration, conflicting versions, or disabled repositories required by dependency chains.
Quick Triage
Run sudo apt –fix-broken install and sudo dpkg –configure -a. Inspect held packages with apt-mark showhold.
Step-by-Step Diagnosis
Check errors in /var/log/apt/term.log and journalctl -xe. Validate repository metadata with apt policy and apt-cache depends for failing packages.

Solution – Primary Fix
Enable required Ubuntu 22.04 repositories, remove incompatible package versions, then run sudo apt update && sudo apt -f install && sudo apt 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
Use aptitude to resolve conflicts interactively or temporarily purge a problematic package and reinstall a supported version.
Verification & Acceptance Criteria
apt full-upgrade completes, no broken packages remain, and apt-mark showhold is empty unless intentional.
Rollback Plan
Reinstall previous package versions from apt cache or snapshot rollback. Revert repository changes in sources.list.d if needed.
Prevention & Hardening
Pin third-party repos carefully, avoid mixed releases, and run unattended-upgrades with periodic maintenance checks.
Related Errors & Cross-Refs
E: Unmet dependencies, held broken packages, dependency problems prevent configuration.
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
man apt, Ubuntu repository management docs, apt_preferences manual.
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.