Error Codes Wiki

Linux APT Unmet Dependencies

Errorpackage

Overview

Linux APT "unmet dependencies" error means packages require other packages that are not available or conflict with installed versions.

Key Details

  • apt: dependency problems prevent configuration of package
  • Package requires specific version of another package
  • Mixing repositories can cause dependency conflicts
  • Common after adding third-party PPAs

Common Causes

  • Mixing packages from different release versions
  • Third-party PPA providing conflicting package versions
  • Interrupted apt install leaving inconsistent state
  • Manually installed .deb files with missing dependencies

Steps

  1. 1Try: sudo apt --fix-broken install
  2. 2Force install dependencies: sudo apt install -f
  3. 3Remove conflicting PPA: sudo add-apt-repository --remove ppa:name
  4. 4Reset with: sudo dpkg --configure -a

Tags

linuxpackageapt unmet dependenciestroubleshootingfix

More in Package

Frequently Asked Questions

A package needs another package at a specific version that conflicts with what is installed.