πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

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.

Illustrative mockup for ubuntu-22-04-lts β€” unmet-deps-problem
APT unmet dependencies output β€” Illustrative mockup β€” Progressive Robot

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.

Illustrative mockup for ubuntu-22-04-lts β€” unmet-deps-fix
Dependencies resolved with apt -f install β€” Illustrative mockup β€” Progressive Robot

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.

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.