LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   x11-common unmet depends (https://www.linuxquestions.org/questions/debian-26/x11-common-unmet-depends-458281/)

verbose 06-25-2006 08:16 PM

x11-common unmet depends
 
I was trying to install libx11-6 and now I have a whole mess of unmet dependencies.

When I try to fix them, I get:

Unpacking x11-common (from .../x11-common_1%3a7.0.22_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/x11-common_1%3a7.0.22_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/bin', which is also in package aaa-base
Errors were encountered while processing:
/var/cache/apt/archives/x11-common_1%3a7.0.22_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I could remove aaa-base but dpkg tells me to NEVER uninstall it and it has no installation candidate for apt-get.


I have no idea how to fix this.

xpromisex 06-25-2006 08:21 PM

Just use dpkg to force the overwrite. The command is something like:

dpkg -if /var/cache/apt/archives/x11-common_1%3a7.0.22_i386.deb

verbose 06-25-2006 08:37 PM

The f flag is for field, which displays package information. The manpage doesn't seem to show a way to force the installation of a package.

nx5000 06-26-2006 03:31 AM

Code:

dpkg --force overwrite
or
Code:

dpkg --force overwrite-dir

xpromisex 06-26-2006 11:54 AM

oops - sorry about the incorrect command! Should have looked it up!

verbose 06-26-2006 10:49 PM

nx5000: That did the trick, thanks a lot.
xpromisex: No problem.


All times are GMT -5. The time now is 10:54 PM.