[Debian-med-packaging] Bug#623511: libvxl1-dev and libgst-dev (and others): error when trying to install together

Ralf Treinen treinen at free.fr
Wed Apr 20 20:15:21 UTC 2011


Package: libvxl1-dev
Version: libvxl1-dev/1.14.0-4
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2011-04-20
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. I am filing this bug report directly
against libvxl1-dev since the problem occurs at the same time in conjunction
with three different packages:


WARNING: The following packages cannot be authenticated!
  gcc-4.6-base libstdc++6 libcap2 libgpg-error0 libgcrypt11 libtasn1-3
  libgnutls26 libpcre3 libwrap0 ucf libexpat1 libfreetype6 ttf-dejavu-core
  fontconfig-config libfontconfig1 fontconfig libasound2 libasyncns0 libxau6
  x11-common libice6 libsm6 libxdmcp6 libxcb1 libx11-data libx11-6 libxt6
  libaudio2 libavutil50 libdirac-encoder0 libfaad2 libgsm1 libopenjpeg2
  liborc-0.4-0 libschroedinger-1.0-0 libspeex1 libogg0 libtheora0 libva1
  libvorbis0a libvorbisenc2 libvpx0 libavcodec52 librtmp0 libavformat52
  libcaca0 libsysfs2 tsconf libts-0.0-0 libdirectfb-1.2-9 libdbus-1-3 libflac8
  libsndfile1 libxext6 libxi6 libxtst6 libpulse0 libsdl1.2debian libxrender1
  libxft2 libxinerama1 libxxf86dga1 libxxf86vm1 libavifile-0.7c2 libdrm2
  libffi5 libxfixes3 libxdamage1 libgl1-mesa-glx libglib2.0-0 libglu1-mesa
  libgmp10 libjpeg62 liblcms1 libltdl7 libmng1 libpng12-0 libqtcore4 libtiff4
  libqtgui4 libqt4-opengl libraw1394-11 libsigsegv2 libusb-1.0-0 libdc1394-22
  proj-data libproj0 libgeotiff1.2 libvxl1.14 libvxl1-dev libgst7 libgst-dev

Extracting templates from packages: 32%
Extracting templates from packages: 65%
Extracting templates from packages: 97%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package gcc-4.6-base.
(Reading database ... 8748 files and directories currently installed.)
Unpacking gcc-4.6-base (from .../gcc-4.6-base_4.6.0-4_amd64.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up gcc-4.6-base (4.6.0-4) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 8757 files and directories currently installed.)
Preparing to replace libstdc++6 4.4.5-12 (using .../libstdc++6_4.6.0-4_amd64.deb) ...
Unpacking replacement libstdc++6 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libstdc++6 (4.6.0-4) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libcap2.
(Reading database ... 8757 files and directories currently installed.)
Unpacking libcap2 (from .../libcap2_1%3a2.20-1_amd64.deb) ...
Selecting previously deselected package libgpg-error0.
Unpacking libgpg-error0 (from .../libgpg-error0_1.10-0.3_amd64.deb) ...
Selecting previously deselected package libgcrypt11.
Unpacking libgcrypt11 (from .../libgcrypt11_1.4.6-5_amd64.deb) ...
Selecting previously deselected package libtasn1-3.
Unpacking libtasn1-3 (from .../libtasn1-3_2.9-2_amd64.deb) ...
Selecting previously deselected package libgnutls26.
Unpacking libgnutls26 (from .../libgnutls26_2.10.5-1+b1_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.12-3_amd64.deb) ...
Selecting previously deselected package libwrap0.
Unpacking libwrap0 (from .../libwrap0_7.6.q-19_amd64.deb) ...
Selecting previously deselected package ucf.
Unpacking ucf (from .../ucf_3.0025+nmu1_all.deb) ...
Moving old data out of the way
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7_amd64.deb) ...
Selecting previously deselected package libfreetype6.
Unpacking libfreetype6 (from .../libfreetype6_2.4.4-1_amd64.deb) ...
Selecting previously deselected package ttf-dejavu-core.
Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33-1_all.deb) ...
Selecting previously deselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.8.0-2.2_all.deb) ...
Selecting previously deselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0-2.2_amd64.deb) ...
Selecting previously deselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.8.0-2.2_amd64.deb) ...
Selecting previously deselected package libasound2.
Unpacking libasound2 (from .../libasound2_1.0.23-3_amd64.deb) ...
Selecting previously deselected package libasyncns0.
Unpacking libasyncns0 (from .../libasyncns0_0.8-1_amd64.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.6-1_amd64.deb) ...
Selecting previously deselected package x11-common.
Unpacking x11-common (from .../x11-common_1%3a7.6+6_all.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from .../libice6_2%3a1.0.7-1_amd64.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from .../libsm6_2%3a1.2.0-1_amd64.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.1.0-1_amd64.deb) ...
Selecting previously deselected package libxcb1.
Unpacking libxcb1 (from .../libxcb1_1.7-2_amd64.deb) ...
Selecting previously deselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.4.3-1_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.4.3-1_amd64.deb) ...
Selecting previously deselected package libxt6.
Unpacking libxt6 (from .../libxt6_1%3a1.1.1-1_amd64.deb) ...
Selecting previously deselected package libaudio2.
Unpacking libaudio2 (from .../libaudio2_1.9.2-4_amd64.deb) ...
Selecting previously deselected package libavutil50.
Unpacking libavutil50 (from .../libavutil50_4%3a0.6.2-1_amd64.deb) ...
Selecting previously deselected package libdirac-encoder0.
Unpacking libdirac-encoder0 (from .../libdirac-encoder0_1.0.2-3_amd64.deb) ...
Selecting previously deselected package libfaad2.
Unpacking libfaad2 (from .../libfaad2_2.7-6_amd64.deb) ...
Selecting previously deselected package libgsm1.
Unpacking libgsm1 (from .../libgsm1_1.0.13-3_amd64.deb) ...
Selecting previously deselected package libopenjpeg2.
Unpacking libopenjpeg2 (from .../libopenjpeg2_1.3+dfsg-4_amd64.deb) ...
Selecting previously deselected package liborc-0.4-0.
Unpacking liborc-0.4-0 (from .../liborc-0.4-0_1%3a0.4.13-1_amd64.deb) ...
Selecting previously deselected package libschroedinger-1.0-0.
Unpacking libschroedinger-1.0-0 (from .../libschroedinger-1.0-0_1.0.10-2_amd64.deb) ...
Selecting previously deselected package libspeex1.
Unpacking libspeex1 (from .../libspeex1_1.2~rc1-1_amd64.deb) ...
Selecting previously deselected package libogg0.
Unpacking libogg0 (from .../libogg0_1.2.0~dfsg-1_amd64.deb) ...
Selecting previously deselected package libtheora0.
Unpacking libtheora0 (from .../libtheora0_1.1.1+dfsg.1-3_amd64.deb) ...
Selecting previously deselected package libva1.
Unpacking libva1 (from .../libva1_1.0.12-2_amd64.deb) ...
Selecting previously deselected package libvorbis0a.
Unpacking libvorbis0a (from .../libvorbis0a_1.3.2-1_amd64.deb) ...
Selecting previously deselected package libvorbisenc2.
Unpacking libvorbisenc2 (from .../libvorbisenc2_1.3.2-1_amd64.deb) ...
Selecting previously deselected package libvpx0.
Unpacking libvpx0 (from .../libvpx0_0.9.6-1_amd64.deb) ...
Selecting previously deselected package libavcodec52.
Unpacking libavcodec52 (from .../libavcodec52_4%3a0.6.2-1_amd64.deb) ...
Selecting previously deselected package librtmp0.
Unpacking librtmp0 (from .../librtmp0_2.3-2_amd64.deb) ...
Selecting previously deselected package libavformat52.
Unpacking libavformat52 (from .../libavformat52_4%3a0.6.2-1_amd64.deb) ...
Selecting previously deselected package libcaca0.
Unpacking libcaca0 (from .../libcaca0_0.99.beta17-1_amd64.deb) ...
Selecting previously deselected package libsysfs2.
Unpacking libsysfs2 (from .../libsysfs2_2.1.0+repack-1_amd64.deb) ...
Selecting previously deselected package tsconf.
Unpacking tsconf (from .../archives/tsconf_1.0-8_all.deb) ...
Selecting previously deselected package libts-0.0-0.
Unpacking libts-0.0-0 (from .../libts-0.0-0_1.0-8_amd64.deb) ...
Selecting previously deselected package libdirectfb-1.2-9.
Unpacking libdirectfb-1.2-9 (from .../libdirectfb-1.2-9_1.2.10.0-4_amd64.deb) ...
Selecting previously deselected package libdbus-1-3.
Unpacking libdbus-1-3 (from .../libdbus-1-3_1.4.8-2_amd64.deb) ...
Selecting previously deselected package libflac8.
Unpacking libflac8 (from .../libflac8_1.2.1-3_amd64.deb) ...
Selecting previously deselected package libsndfile1.
Unpacking libsndfile1 (from .../libsndfile1_1.0.24-1_amd64.deb) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from .../libxext6_2%3a1.2.0-2_amd64.deb) ...
Selecting previously deselected package libxi6.
Unpacking libxi6 (from .../libxi6_2%3a1.4.2-1_amd64.deb) ...
Selecting previously deselected package libxtst6.
Unpacking libxtst6 (from .../libxtst6_2%3a1.2.0-1_amd64.deb) ...
Selecting previously deselected package libpulse0.
Unpacking libpulse0 (from .../libpulse0_0.9.21-4_amd64.deb) ...
Selecting previously deselected package libsdl1.2debian.
Unpacking libsdl1.2debian (from .../libsdl1.2debian_1.2.14-6.3_amd64.deb) ...
Selecting previously deselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_1%3a0.9.6-1_amd64.deb) ...
Selecting previously deselected package libxft2.
Unpacking libxft2 (from .../libxft2_2.2.0-2_amd64.deb) ...
Selecting previously deselected package libxinerama1.
Unpacking libxinerama1 (from .../libxinerama1_2%3a1.1.1-1_amd64.deb) ...
Selecting previously deselected package libxxf86dga1.
Unpacking libxxf86dga1 (from .../libxxf86dga1_2%3a1.1.2-1_amd64.deb) ...
Selecting previously deselected package libxxf86vm1.
Unpacking libxxf86vm1 (from .../libxxf86vm1_1%3a1.1.1-1_amd64.deb) ...
Selecting previously deselected package libavifile-0.7c2.
Unpacking libavifile-0.7c2 (from .../libavifile-0.7c2_1%3a0.7.48~20090503.ds-2+b2_amd64.deb) ...
Selecting previously deselected package libdrm2.
Unpacking libdrm2 (from .../libdrm2_2.4.24-2_amd64.deb) ...
Selecting previously deselected package libffi5.
Unpacking libffi5 (from .../libffi5_3.0.9-4_amd64.deb) ...
Selecting previously deselected package libxfixes3.
Unpacking libxfixes3 (from .../libxfixes3_1%3a4.0.5-1_amd64.deb) ...
Selecting previously deselected package libxdamage1.
Unpacking libxdamage1 (from .../libxdamage1_1%3a1.1.3-1_amd64.deb) ...
Selecting previously deselected package libgl1-mesa-glx.
Unpacking libgl1-mesa-glx (from .../libgl1-mesa-glx_7.10.2-1_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.28.6-1_amd64.deb) ...
Selecting previously deselected package libglu1-mesa.
Unpacking libglu1-mesa (from .../libglu1-mesa_7.10.2-1_amd64.deb) ...
Selecting previously deselected package libgmp10.
Unpacking libgmp10 (from .../libgmp10_2%3a5.0.1+dfsg-7_amd64.deb) ...
Selecting previously deselected package libjpeg62.
Unpacking libjpeg62 (from .../libjpeg62_6b1-1_amd64.deb) ...
Selecting previously deselected package liblcms1.
Unpacking liblcms1 (from .../liblcms1_1.18.dfsg-1.2+b3_amd64.deb) ...
Selecting previously deselected package libltdl7.
Unpacking libltdl7 (from .../libltdl7_2.4-2_amd64.deb) ...
Selecting previously deselected package libmng1.
Unpacking libmng1 (from .../libmng1_1.0.10-1+b1_amd64.deb) ...
Selecting previously deselected package libpng12-0.
Unpacking libpng12-0 (from .../libpng12-0_1.2.44-2_amd64.deb) ...
Selecting previously deselected package libqtcore4.
Unpacking libqtcore4 (from .../libqtcore4_4%3a4.7.2-3_amd64.deb) ...
Selecting previously deselected package libtiff4.
Unpacking libtiff4 (from .../libtiff4_3.9.5-1_amd64.deb) ...
Selecting previously deselected package libqtgui4.
Unpacking libqtgui4 (from .../libqtgui4_4%3a4.7.2-3_amd64.deb) ...
Selecting previously deselected package libqt4-opengl.
Unpacking libqt4-opengl (from .../libqt4-opengl_4%3a4.7.2-3_amd64.deb) ...
Selecting previously deselected package libraw1394-11.
Unpacking libraw1394-11 (from .../libraw1394-11_2.0.7-1_amd64.deb) ...
Selecting previously deselected package libsigsegv2.
Unpacking libsigsegv2 (from .../libsigsegv2_2.9-4_amd64.deb) ...
Selecting previously deselected package libusb-1.0-0.
Unpacking libusb-1.0-0 (from .../libusb-1.0-0_2%3a1.0.8-2_amd64.deb) ...
Selecting previously deselected package libdc1394-22.
Unpacking libdc1394-22 (from .../libdc1394-22_2.1.3-1_amd64.deb) ...
Selecting previously deselected package proj-data.
Unpacking proj-data (from .../proj-data_4.7.0-1_amd64.deb) ...
Selecting previously deselected package libproj0.
Unpacking libproj0 (from .../libproj0_4.7.0-1_amd64.deb) ...
Selecting previously deselected package libgeotiff1.2.
Unpacking libgeotiff1.2 (from .../libgeotiff1.2_1.2.5-1+b1_amd64.deb) ...
Selecting previously deselected package libvxl1.14.
Unpacking libvxl1.14 (from .../libvxl1.14_1.14.0-4_amd64.deb) ...
Selecting previously deselected package libvxl1-dev.
Unpacking libvxl1-dev (from .../libvxl1-dev_1.14.0-4_amd64.deb) ...
Selecting previously deselected package libgst7.
Unpacking libgst7 (from .../libgst7_3.2.4-1_amd64.deb) ...
Selecting previously deselected package libgst-dev.
Unpacking libgst-dev (from .../libgst-dev_3.2.4-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libgst-dev_3.2.4-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libgst.so', which is also in package libvxl1-dev 1.14.0-4
configured to not write apport reports
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libgst-dev_3.2.4-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.

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/libgst.so

--------------------------------------------------------------------------

With libkml-dev/1.3.0~r863-1:

Unpacking libkml-dev (from .../libkml-dev_1.3.0~r863-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libkml-dev_1.3.0~r863-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libminizip.so', which is also in package libvxl1-dev 1.14.0-4

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/libminizip.so


----------------------------------------------------------------------------

With libosl-dev/0.3.0-1:

dpkg: error processing /var/cache/apt/archives/libvxl1-dev_1.14.0-4_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libosl.so', which is also in package libosl-dev 0.3.0-1
configured to not write apport reports
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libvxl1-dev_1.14.0-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cow-shell unlink .ilist: No such file or directory


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/libosl.so




-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.





More information about the Debian-med-packaging mailing list