[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#370215: x11-common: x11-common fails to install (broken dependencies)



severity 370215 important
thanks

On Sun, Jun 04, 2006 at 12:12:39AM -0700, cardaniuc@gmail.com wrote:
> Today I was upgrading X in etch. As I was asked I removed all the
> files in /usr/X11R6/bin and then started the upgrade again. Now there
> are still some directories under /usr/X11R6: /usr/X11R6/include,
> /usr/X11R6/lib and /usr/X11R6/man

> But the upgrade didn't finish. Some packages seem to be broken or
> maybe I should manually do something? Or maybe I need to wait for some
> new uploads to etch to be able to fix it?

In the future, it would be helpful if you would make sure your mail client
doesn't wrap console transcripts when sending; the following was quite
painful to read through...

> zv5260:~# aptitude install x11-common

<snip>

> Preparing to replace x11-common 6.9.0.dfsg.1-6 (using .../x11-common_1%3a7.0.20_amd64.deb) ...
> Document `debian-x-faq' is not installed, cannot remove.
> Unpacking replacement x11-common ...
> dpkg: error processing /var/cache/apt/archives/x11-common_1%3a7.0.20_amd64.deb (--unpack):
>  trying to overwrite `/usr/X11R6/bin', which is also in package xbase-clients
<snip>
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/x11-common_1%3a7.0.20_amd64.deb

The necessary fix here is an expanded conflict of x11-common with this
version of xbase-clients.  I've committed a fix for this to svn, so this
problem should go away with the next version of xorg.

But because this is an upgrade issue affecting only upgrades within testing
(and only on one arch for that matter), it is not release-critical;
downgraded accordingly.

> # dpkg --force-overwrite -i
> /var/cache/apt/archives/x11-common_1%3a7.0.20_amd64.deb

> After that the upgrade proceeded fine...

Uh, please check the output of ls -ld /usr/X11R6/bin.  This should now be a
symlink to /usr/bin, but by overriding the conflict it may have been left as
a directory (or even removed from the system).

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: