Affected versions: Ubuntu 22.04 LTS

πŸ“– ~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

do-release-upgrade stops early due to unresolved dependencies or held package constraints.

Environment & Reproduction

Happens on long-lived servers with third-party repos and pinning policies.

Root Cause Analysis

Held packages and mixed repository versions prevent apt resolver from constructing safe transition path.

Quick Triage

List held packages and identify broken dependency chains before retrying upgrade.

Step-by-Step Diagnosis

Review resolver simulation output and remove obsolete third-party repositories.

Illustrative mockup for ubuntu-22-04-lts β€” terminal_or_shell
Held package set blocks dependency resolver β€” Illustrative mockup β€” Progressive Robot

Solution – Primary Fix

Unhold conflicting packages, complete full upgrade, and rerun release upgrade from clean package state.

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 β€” log_or_config
Resolved held package states before release upgrade β€” Illustrative mockup β€” Progressive Robot

Solution – Alternative Approaches

Use in-place snapshot rollback strategy or rebuild host from fresh image when dependency debt is too high.

Verification & Acceptance Criteria

Upgrade prechecks pass and no held package blocks remain.

Rollback Plan

Restore snapshot or backup and re-enable original repository list if upgrade must be deferred.

Prevention & Hardening

Limit package pinning exceptions and regularly reconcile third-party repositories before major upgrades.

Closely related to NO_PUBKEY repository issues and stale transitional packages.

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

Ubuntu release upgrade documentation and apt dependency troubleshooting.

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.