dist-upgrade failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Fix Released
|
High
|
Daniel Stone |
Bug Description
Today, when upgrading a laptop from warty to hoary, I got this problem:
scurvy:~# apt-get dist-upgrade
[...]
Selecting previously deselected package libxkbfile-dev.
Unpacking libxkbfile-dev (from .../libxkbfile-
dpkg: error processing /var/cache/
(--unpack): trying to overwrite `/usr/X11R6/
package xlibs-static- dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace libx11-dev 6.8.1-0.3 (using
.../libx11-
Unpacking replacement libx11-dev ...
Preparing to replace debianutils 2.8.3 (using .../debianutils
Unpacking replacement debianutils ...
Errors were encountered while processing:
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
After this I tried with -f, and got this:
scurvy:~# apt-get -f dist-upgrade
[...]
Unpacking libxkbfile-dev (from .../libxkbfile-
dpkg: error processing /var/cache/
(--unpack):
trying to overwrite `/usr/X11R6/
xlibs-static-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libxau-dev (from .../libxau-
dpkg: error processing /var/cache/
(--unpack):
trying to overwrite `/usr/X11R6/
xlibs-static-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace tcl8.4 8.4.6-1 (using .../tcl8.
Unpacking replacement tcl8.4 ...
Preparing to replace tk8.4 8.4.6-1 (using .../tk8.
Unpacking replacement tk8.4 ...
Errors were encountered while processing:
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do to workaround this?
You can work around this with a dpkg -r --force-all xlibs-static-dev xlibs-dev,
but it's still a bug, isn't it?