Bug#362255: Problem when trying to upgrade from 6.9.0.dfsg.1-4
When trying to upgrade from the currently installed version
6.9.0.dfsg.1-4 of x11-common to 6.9.0.dfsg.1-6 I get the following
Preconfiguring packages ...
(Reading database ... 213727 files and directories currently installed.)
Preparing to replace x11-common 6.9.0.dfsg.1-4 (using .../x11-common_6.9.0.dfsg.1-6_all.deb) ...
Document `debian-x-faq' is not installed, cannot remove.
Unpacking replacement x11-common ...
dpkg: error processing /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-6_all.deb (--unpack):
trying to overwrite `/usr/include/X11', which is also in package libxft-dev
System startup links for /etc/init.d/x11-common already exist.
Setting up X server socket directory /tmp/.X11-unix...done.
Setting up ICE socket directory /tmp/.ICE-unix...done.
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm guessing that this was probably fixed in the next version, but I think
that it's still important to document that the bug was there.
I don't think there's a real way of fixing the bug. But the problem can be
dpkg -i --force-all /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-6_all.deb
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages x11-common depends on:
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii debianutils 2.15.3 Miscellaneous utilities specific t
ii lsb-base 3.0-16 Linux Standard Base 3.0 init scrip
x11-common recommends no packages.
-- debconf information excluded