libx11-6 conflicts with xlibs-data

Bug #18385 reported by David Grant
10
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
High
Daniel Stone

Bug Description

When upgrading Breezy, it appears that xlibs-data is attempting to overwrite
/usr/X11R6/lib/X11/xkb, but fails because the file also belongs to the libx11-6
package. Output from apt follows:

djg@alaska:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libx11-6 xlibs-data
The following packages will be upgraded:
  libx11-6 xlibs-data
2 upgraded, 0 newly installed, 0 to remove and 172 not upgraded.
8 not fully installed or removed.
Need to get 0B/1368kB of archives.
After unpacking 430kB disk space will be freed.
Do you want to continue [Y/n]? y

Preconfiguring packages ...
(Reading database ... 87697 files and directories currently installed.)
Preparing to replace xlibs-data 6.8.2-24 (using .../xlibs-data_6.8.2-32_all.deb)
 ...
Unpacking replacement xlibs-data ...
dpkg: error processing /var/cache/apt/archives/xlibs-data_6.8.2-32_all.deb (--un
pack):
 trying to overwrite `/usr/X11R6/lib/X11/xkb', which is also in package libx11-6
dpkg: considering removing xlibs-data in favour of libx11-6 ...
dpkg: no, cannot remove xlibs-data (--auto-deconfigure will help):
 libx11-6 depends on xlibs-data
  xlibs-data is to be removed.
dpkg: regarding .../libx11-6_1%3a6.2.1+cvs.20050615-3_i386.deb containing libx11 -6:
 libx11-6 conflicts with xlibs-data (<< 6.8.2-25)
  xlibs-data (version 6.8.2-24) is installed.
dpkg: error processing /var/cache/apt/archives/libx11-6_1%3a6.2.1+cvs.20050615-3
_i386.deb (--unpack):
 conflicting packages - not installing libx11-6
Errors were encountered while processing:
 /var/cache/apt/archives/xlibs-data_6.8.2-32_all.deb
 /var/cache/apt/archives/libx11-6_1%3a6.2.1+cvs.20050615-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
David Grant (david-grant) wrote :

Created an attachment (id=2824)
sources.list

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

Confirmed. There is a workaround. Manually install libx11-6 (with dpkg), then
install xlibs-data.

Revision history for this message
David Grant (david-grant) wrote :

The install worked, but it needed dpkg to be passed the --force-conflicts option.

Revision history for this message
Daniel Stone (daniels) wrote :

Ah, it's immediately obvious now. Thanks.

Revision history for this message
Colin Watson (cjwatson) wrote :

(In reply to comment #3)
> The install worked, but it needed dpkg to be passed the --force-conflicts option.

This should be --force-overwrite; --force-conflicts does something else (and is
more dangerous).

Revision history for this message
Daniel Stone (daniels) wrote :

fixed with new libx11-6

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.