Linux APT Unmet Dependencies
About Linux APT Unmet Dependencies
Linux APT "unmet dependencies" error means packages require other packages that are not available or conflict with installed versions. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.
Here are the key things to understand: 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. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.
The most common reasons this occurs include: 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. Identifying the root cause is the first step toward finding the right solution.
To resolve this, follow these recommended steps: Try: sudo apt --fix-broken install. Force install dependencies: sudo apt install -f. Remove conflicting PPA: sudo add-apt-repository --remove ppa:name. Reset with: sudo dpkg --configure -a. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.
This article is part of our Linux Error Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.
Quick Answer
What does "unmet dependencies" mean?
A package needs another package at a specific version that conflicts with what is installed.
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
- 1Try: sudo apt --fix-broken install
- 2Force install dependencies: sudo apt install -f
- 3Remove conflicting PPA: sudo add-apt-repository --remove ppa:name
- 4Reset with: sudo dpkg --configure -a