Solving dependency problems
From MEPIS Documentation Wiki
Contents |
[edit]
Introduction
Sometimes dependency problems arise when you try to install a program. You can get a message similar to this:
Unpacking kvirc3 (from .../kvirc3_3.0.1-2_i386.deb) ... dpkg: dependency problems prevent configuration of kvirc3: kvirc3 depends on libarts1 (>= 1.3.0); however: Version of libarts1 on system is 1.2.3-1. kvirc3 depends on libjack0.80.0-0 (>= 0.98.1); however: Package libjack0.80.0-0 is not installed. kvirc3 depends on libqt3c102-mt (>= 3:3.3.3); however: Version of libqt3c102-mt on system is 3:3.3.2-5. dpkg: error processing kvirc3 (--install): dependency problems - leaving unconfigured
As you can see there's a chain of dependency problems that doesn't let the package get installed. You have two tasks: remove the failed installation, and solve the problem.
[edit]
Remove the failed installation
[edit]
GUI method (Synaptic)
- Open Synaptic
- In the Table of Contents to the left, click on "Broken Packages"
- Right-click the package, and click on uninstall
[edit]
Command-line method
dpkg --configure -a
This will remove the unconfigured packages.
[edit]
Solve the problem
Here are your choices:
- Enable "unstable" sources and try to install from it: apt-get -t unstable install packagename (make sure no important package gets removed).
- Wait. Sometimes Debian repositories get out of sync, the situation usually gets resolved in one or two days.
- Use information from Source:Debian_snapshot to enable Debian snapshot repository to install older packages.

