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. |
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 |
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.
|
Code:
dpkg --force overwrite Code:
dpkg --force overwrite-dir |
oops - sorry about the incorrect command! Should have looked it up!
|
nx5000: That did the trick, thanks a lot.
xpromisex: No problem. |
All times are GMT -5. The time now is 10:54 PM. |