[Pkg-fglrx-devel] Bug#538890: fglrx-glx and libgl1-mesa-swx11: error when trying to install together

Ralf Treinen treinen at free.fr
Mon Jul 27 18:34:58 UTC 2009


Package: libgl1-mesa-swx11,fglrx-glx
Version: libgl1-mesa-swx11/7.5-3
Version: fglrx-glx/1:9-6-4
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2009-07-27
Architecture: amd64
Distribution: sid

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:


WARNING: The following packages cannot be authenticated!
  console-data console-terminus xkb-data console-setup kbd console-common
  x11-common libice6 libsm6 libxau6 libxdmcp6 libxcb1 libx11-data libx11-6
  libxt6 libxext6 libxmu6 libxpm4 libxaw7 libxkbfile1 libgmp3c2 libmpfr1ldbl
  cpp-4.3 cpp x11-xkb-utils libpci3 libpcre3 pciutils acl libdbus-1-3
  libck-connector0 libglib2.0-0 libdbus-glib-1-2 libexpat1 dbus consolekit
  libsmbios2 libhal1 libhal-storage1 libpolkit2 usbutils hal-info
  powermgmt-base pm-utils libpolkit-dbus2 libpolkit-grant2 policykit hal
  laptop-detect libdrm2 libfontenc1 libfreetype6 libosmesa6 libpciaccess0
  libpixman-1-0 libxfont1 libxinerama1 libxrender1 libxrandr2 xserver-common
  libaudit0 xserver-xorg-core xserver-xorg-input-evdev libgl1-mesa-swx11
  fglrx-glx fglrx-driver xserver-xorg

Extracting templates from packages: 44%
Extracting templates from packages: 89%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package console-data.
(Reading database ... 8205 files and directories currently installed.)
Unpacking console-data (from .../console-data_2%3a1.09-2_all.deb) ...
Selecting previously deselected package console-terminus.
Unpacking console-terminus (from .../console-terminus_4.28-1_all.deb) ...
Selecting previously deselected package xkb-data.
Unpacking xkb-data (from .../xkb-data_1.6-1_all.deb) ...
Selecting previously deselected package console-setup.
Unpacking console-setup (from .../console-setup_1.44_all.deb) ...
Selecting previously deselected package kbd.
Unpacking kbd (from .../archives/kbd_1.15-2_amd64.deb) ...
Selecting previously deselected package console-common.
Unpacking console-common (from .../console-common_0.7.83_all.deb) ...
Selecting previously deselected package x11-common.
Unpacking x11-common (from .../x11-common_1%3a7.4+3_all.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from .../libice6_2%3a1.0.5-1_amd64.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from .../libsm6_2%3a1.1.0-2_amd64.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.4-2_amd64.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.2-3_amd64.deb) ...
Selecting previously deselected package libxcb1.
Unpacking libxcb1 (from .../libxcb1_1.3-2_amd64.deb) ...
Selecting previously deselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.2.2-1_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.2.2-1_amd64.deb) ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up x11-common (1:7.4+3) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libxt6.
(Reading database ... 10096 files and directories currently installed.)
Unpacking libxt6 (from .../libxt6_1%3a1.0.5-3_amd64.deb) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from .../libxext6_2%3a1.0.4-1_amd64.deb) ...
Selecting previously deselected package libxmu6.
Unpacking libxmu6 (from .../libxmu6_2%3a1.0.4-1_amd64.deb) ...
Selecting previously deselected package libxpm4.
Unpacking libxpm4 (from .../libxpm4_1%3a3.5.7-2_amd64.deb) ...
Selecting previously deselected package libxaw7.
Unpacking libxaw7 (from .../libxaw7_2%3a1.0.5-2_amd64.deb) ...
Selecting previously deselected package libxkbfile1.
Unpacking libxkbfile1 (from .../libxkbfile1_1%3a1.0.5-1_amd64.deb) ...
Selecting previously deselected package libgmp3c2.
Unpacking libgmp3c2 (from .../libgmp3c2_2%3a4.3.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libmpfr1ldbl.
Unpacking libmpfr1ldbl (from .../libmpfr1ldbl_2.4.1-2_amd64.deb) ...
Selecting previously deselected package cpp-4.3.
Unpacking cpp-4.3 (from .../cpp-4.3_4.3.3-14_amd64.deb) ...
Selecting previously deselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.3.3-9_amd64.deb) ...
Selecting previously deselected package x11-xkb-utils.
Unpacking x11-xkb-utils (from .../x11-xkb-utils_7.4+3_amd64.deb) ...
Selecting previously deselected package libpci3.
Unpacking libpci3 (from .../libpci3_1%3a3.1.3-1_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_7.8-2_amd64.deb) ...
Selecting previously deselected package pciutils.
Unpacking pciutils (from .../pciutils_1%3a3.1.3-1_amd64.deb) ...
Selecting previously deselected package acl.
Unpacking acl (from .../acl_2.2.47-3_amd64.deb) ...
Selecting previously deselected package libdbus-1-3.
Unpacking libdbus-1-3 (from .../libdbus-1-3_1.2.16-2_amd64.deb) ...
Selecting previously deselected package libck-connector0.
Unpacking libck-connector0 (from .../libck-connector0_0.3.0-3_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.20.4-1_amd64.deb) ...
Selecting previously deselected package libdbus-glib-1-2.
Unpacking libdbus-glib-1-2 (from .../libdbus-glib-1-2_0.80-4_amd64.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-4_amd64.deb) ...
Selecting previously deselected package dbus.
Unpacking dbus (from .../dbus_1.2.16-2_amd64.deb) ...
Selecting previously deselected package consolekit.
Unpacking consolekit (from .../consolekit_0.3.0-3_amd64.deb) ...
Selecting previously deselected package libsmbios2.
Unpacking libsmbios2 (from .../libsmbios2_2.0.3.dfsg-1_amd64.deb) ...
Selecting previously deselected package libhal1.
Unpacking libhal1 (from .../libhal1_0.5.12~git20090406.46dc48-2_amd64.deb) ...
Selecting previously deselected package libhal-storage1.
Unpacking libhal-storage1 (from .../libhal-storage1_0.5.12~git20090406.46dc48-2_amd64.deb) ...
Selecting previously deselected package libpolkit2.
Unpacking libpolkit2 (from .../libpolkit2_0.9-4_amd64.deb) ...
Selecting previously deselected package usbutils.
Unpacking usbutils (from .../usbutils_0.82-1_amd64.deb) ...
Selecting previously deselected package hal-info.
Unpacking hal-info (from .../hal-info_20090309-1_all.deb) ...
Selecting previously deselected package powermgmt-base.
Unpacking powermgmt-base (from .../powermgmt-base_1.30+nmu1_amd64.deb) ...
Selecting previously deselected package pm-utils.
Unpacking pm-utils (from .../pm-utils_1.2.5-4_all.deb) ...
Selecting previously deselected package libpolkit-dbus2.
Unpacking libpolkit-dbus2 (from .../libpolkit-dbus2_0.9-4_amd64.deb) ...
Selecting previously deselected package libpolkit-grant2.
Unpacking libpolkit-grant2 (from .../libpolkit-grant2_0.9-4_amd64.deb) ...
Selecting previously deselected package policykit.
Unpacking policykit (from .../policykit_0.9-4_amd64.deb) ...
Selecting previously deselected package hal.
Unpacking hal (from .../hal_0.5.12~git20090406.46dc48-2_amd64.deb) ...
Selecting previously deselected package laptop-detect.
Unpacking laptop-detect (from .../laptop-detect_0.13.7_amd64.deb) ...
Selecting previously deselected package libdrm2.
Unpacking libdrm2 (from .../libdrm2_2.4.12-1_amd64.deb) ...
Selecting previously deselected package libfontenc1.
Unpacking libfontenc1 (from .../libfontenc1_1%3a1.0.4-3_amd64.deb) ...
Selecting previously deselected package libfreetype6.
Unpacking libfreetype6 (from .../libfreetype6_2.3.9-5_amd64.deb) ...
Selecting previously deselected package libosmesa6.
Unpacking libosmesa6 (from .../libosmesa6_7.5-3_amd64.deb) ...
Selecting previously deselected package libpciaccess0.
Unpacking libpciaccess0 (from .../libpciaccess0_0.10.6-1_amd64.deb) ...
Selecting previously deselected package libpixman-1-0.
Unpacking libpixman-1-0 (from .../libpixman-1-0_0.14.0-1_amd64.deb) ...
Selecting previously deselected package libxfont1.
Unpacking libxfont1 (from .../libxfont1_1%3a1.4.0-1_amd64.deb) ...
Selecting previously deselected package libxinerama1.
Unpacking libxinerama1 (from .../libxinerama1_2%3a1.0.3-2_amd64.deb) ...
Selecting previously deselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_1%3a0.9.4-2_amd64.deb) ...
Selecting previously deselected package libxrandr2.
Unpacking libxrandr2 (from .../libxrandr2_2%3a1.3.0-2_amd64.deb) ...
Selecting previously deselected package xserver-common.
Unpacking xserver-common (from .../xserver-common_2%3a1.6.2.901-1_all.deb) ...
Selecting previously deselected package libaudit0.
Unpacking libaudit0 (from .../libaudit0_1.7.13-1_amd64.deb) ...
Selecting previously deselected package xserver-xorg-core.
Unpacking xserver-xorg-core (from .../xserver-xorg-core_2%3a1.6.2.901-1_amd64.deb) ...
Selecting previously deselected package xserver-xorg-input-evdev.
Unpacking xserver-xorg-input-evdev (from .../xserver-xorg-input-evdev_1%3a2.2.2-1_amd64.deb) ...
Selecting previously deselected package libgl1-mesa-swx11.
Unpacking libgl1-mesa-swx11 (from .../libgl1-mesa-swx11_7.5-3_amd64.deb) ...
Selecting previously deselected package fglrx-glx.
Unpacking fglrx-glx (from .../fglrx-glx_1%3a9-6-4_amd64.deb) ...
Adding `diversion of /usr/lib32/libGL.so.1.2 to /usr/lib32/fglrx/diversions/libGL.so.1.2 by ia32-fglrx-glx'
Adding `diversion of /usr/lib32/libGL.so.1 to /usr/lib32/fglrx/diversions/libGL.so.1 by ia32-fglrx-glx'
dpkg: error processing /var/cache/apt/archives/fglrx-glx_1%3a9-6-4_amd64.deb (--unpack):
 trying to overwrite `/usr/lib/libGL.so.1', which is also in package libgl1-mesa-swx11
Selecting previously deselected package fglrx-driver.
Unpacking fglrx-driver (from .../fglrx-driver_1%3a9-6-4_amd64.deb) ...
Adding `diversion of /usr/lib/xorg/modules/extensions/libdri.so to /usr/lib/fglrx/diversions/libdri.so by fglrx-driver'
Adding `diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/fglrx/diversions/libglx.so by fglrx-driver'
Selecting previously deselected package xserver-xorg.
Unpacking xserver-xorg (from .../xserver-xorg_1%3a7.4+3_amd64.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/fglrx-glx_1%3a9-6-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail. Possible
solutions are to have the two packages conflict, to rename the common
file in one of the two packages, or to remove the file from one
package and have this package depend on the other package. File
diversions or a Replace relation are another possibility.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):


  usr/lib/libGL.so.1
  

This bug is assigned to both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package.

-Ralf.





More information about the Pkg-fglrx-devel mailing list