LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 06-25-2006, 08:16 PM   #1
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Rep: Reputation: 31
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.
 
Old 06-25-2006, 08:21 PM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
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
 
Old 06-25-2006, 08:37 PM   #3
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
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.
 
Old 06-26-2006, 03:31 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Code:
dpkg --force overwrite
or
Code:
dpkg --force overwrite-dir
 
Old 06-26-2006, 11:54 AM   #5
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
oops - sorry about the incorrect command! Should have looked it up!
 
Old 06-26-2006, 10:49 PM   #6
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
nx5000: That did the trick, thanks a lot.
xpromisex: No problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nVidia (should I install x11-common) jw_wvu Debian 1 05-20-2006 10:48 AM
Partition size depends upon what ? tofee Linux - Newbie 2 03-23-2006 12:56 AM
BOGUS.common.04y -> /home/common/Mailbox jayakrishnan Linux - Networking 0 11-19-2005 04:48 AM
OpenSSH Server Depends DrWorm Linux - Software 0 07-17-2005 06:26 PM
Gentoo - What depends on KDE? Orkie Linux - Distributions 3 05-09-2005 02:22 PM


All times are GMT -5. The time now is 08:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration