📖 ~1 min read
Table of contents
Symptom & Impact
New packages cannot be installed because dependency resolution is incomplete or conflicting.
Environment & Reproduction
Seen after interrupted upgrades or mixed repositories.
sudo apt install
Root Cause Analysis
Inconsistent package state and unmet dependency chains block apt solver decisions.
Quick Triage
Check held packages and pending dpkg configuration.
apt-mark showhold
sudo dpkg --audit
Step-by-Step Diagnosis
Inspect apt policy and package candidate versions.
apt-cache policy
sudo apt -o Debug::pkgProblemResolver=yes install

Solution – Primary Fix
Repair package state, fix dependencies, and rerun installation.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo dpkg --configure -a
sudo apt -f install
sudo apt install

Solution – Alternative Approaches
Remove conflicting package versions and install a supported candidate.
sudo apt remove
Verification & Acceptance Criteria
apt completes with no unmet dependency errors.
sudo apt check
dpkg -l | grep
Rollback Plan
Undo latest transaction if the fix introduces regressions.
sudo apt remove
Prevention & Hardening
Use trusted repositories only and avoid partial upgrades during production windows.
Related Errors & Cross-Refs
Related to held packages, version pinning conflicts, and partial package installs.
Related tutorial: View the step-by-step tutorial for Ubuntu 26.04 LTS.
View all Ubuntu 26.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu package management and apt resolver 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.