📖 ~1 min read
Table of contents
Symptom & Impact
Package installs fail with unmet dependencies or held package conflicts.
Environment & Reproduction
Occurs after interrupted upgrades, mixed repositories, or third-party packages.
Root Cause Analysis
Partial upgrades and version pinning conflicts leave dependency graph inconsistent.
Quick Triage
Run apt –fix-broken install and inspect held packages.
Step-by-Step Diagnosis
Use apt-cache policy, dpkg -l, and apt-mark showhold to identify blockers.

Solution – Primary Fix
Unhold conflicting packages, align repositories, and complete full upgrade sequence.
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
Purge incompatible third-party packages and reinstall supported equivalents.
Verification & Acceptance Criteria
Dependency checks pass and package operations execute without errors.
Rollback Plan
Revert package state using snapshot or apt history if resolution causes regressions.
Prevention & Hardening
Avoid mixed release repositories and enforce controlled upgrade windows.
Related Errors & Cross-Refs
Frequently appears with apt lock issues and stale package metadata.
Related tutorial: View the step-by-step tutorial for Ubuntu 18.04 LTS.
View all Ubuntu 18.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Review apt dependency resolution and Ubuntu package pinning guidance.
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.