Bug#664047: libgegl-0.1-0-dbg and libgegl-0.0-dbg: error when trying to install together

Ralf Treinen treinen at free.fr
Thu Mar 15 07:18:17 UTC 2012


Package: libgegl-0.0-dbg,libgegl-0.1-0-dbg
Version: libgegl-0.0-dbg/0.0.22-3
Version: libgegl-0.1-0-dbg/0.1.8-2
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2012-03-15
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!
  libpcre3 libbabl-0.1-0 libexpat1 libfreetype6 ucf ttf-dejavu-core
  fontconfig-config libfontconfig1 libpixman-1-0 libpng12-0 libxau6 libxdmcp6
  libxcb1 libx11-data libx11-6 libxcb-render0 libxcb-shm0 libxrender1
  libcairo2 libffi5 libglib2.0-0 libxml2 libcroco3 libdatrie1 libjpeg8
  libjasper1 libtiff4 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-0 libilmbase6
  libopenexr6 libopenraw1 libthai-data libthai0 libxft2 fontconfig
  libpango1.0-0 librsvg2-2 libgegl-0.1-0 libbabl-0.0-0 libgegl-0.0-0
  libgegl-0.0-dbg libgegl-0.1-0-dbg

Extracting templates from packages: 69%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libpcre3.
(Reading database ... 10557 files and directories currently installed.)
Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ...
Selecting previously unselected package libbabl-0.1-0.
Unpacking libbabl-0.1-0 (from .../libbabl-0.1-0_0.1.6-2_amd64.deb) ...
Selecting previously unselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7.2_amd64.deb) ...
Selecting previously unselected package libfreetype6.
Unpacking libfreetype6 (from .../libfreetype6_2.4.8-1_amd64.deb) ...
Selecting previously unselected package ucf.
Unpacking ucf (from .../ucf_3.0025+nmu2_all.deb) ...
Moving old data out of the way
Selecting previously unselected package ttf-dejavu-core.
Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33-2_all.deb) ...
Selecting previously unselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.8.0-3.1_all.deb) ...
Selecting previously unselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0-3.1_amd64.deb) ...
Selecting previously unselected package libpixman-1-0.
Unpacking libpixman-1-0 (from .../libpixman-1-0_0.24.4-1_amd64.deb) ...
Selecting previously unselected package libpng12-0.
Unpacking libpng12-0 (from .../libpng12-0_1.2.47-1_amd64.deb) ...
Selecting previously unselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.6-4_amd64.deb) ...
Selecting previously unselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.1.0-4_amd64.deb) ...
Selecting previously unselected package libxcb1.
Unpacking libxcb1 (from .../libxcb1_1.8.1-1_amd64.deb) ...
Selecting previously unselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.4.4-4_all.deb) ...
Selecting previously unselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.4.4-4_amd64.deb) ...
Selecting previously unselected package libxcb-render0.
Unpacking libxcb-render0 (from .../libxcb-render0_1.8.1-1_amd64.deb) ...
Selecting previously unselected package libxcb-shm0.
Unpacking libxcb-shm0 (from .../libxcb-shm0_1.8.1-1_amd64.deb) ...
Selecting previously unselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_1%3a0.9.6-2_amd64.deb) ...
Selecting previously unselected package libcairo2.
Unpacking libcairo2 (from .../libcairo2_1.10.2-7_amd64.deb) ...
Selecting previously unselected package libffi5.
Unpacking libffi5 (from .../libffi5_3.0.10-3_amd64.deb) ...
Selecting previously unselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.30.2-6_amd64.deb) ...
Selecting previously unselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-7_amd64.deb) ...
Selecting previously unselected package libcroco3.
Unpacking libcroco3 (from .../libcroco3_0.6.4-2_amd64.deb) ...
Selecting previously unselected package libdatrie1.
Unpacking libdatrie1 (from .../libdatrie1_0.2.5-3_amd64.deb) ...
Selecting previously unselected package libjpeg8.
Unpacking libjpeg8 (from .../libjpeg8_8d-1_amd64.deb) ...
Selecting previously unselected package libjasper1.
Unpacking libjasper1 (from .../libjasper1_1.900.1-13_amd64.deb) ...
Selecting previously unselected package libtiff4.
Unpacking libtiff4 (from .../libtiff4_3.9.6-1_amd64.deb) ...
Selecting previously unselected package libgdk-pixbuf2.0-common.
Unpacking libgdk-pixbuf2.0-common (from .../libgdk-pixbuf2.0-common_2.24.1-1_all.deb) ...
Selecting previously unselected package libgdk-pixbuf2.0-0.
Unpacking libgdk-pixbuf2.0-0 (from .../libgdk-pixbuf2.0-0_2.24.1-1_amd64.deb) ...
Selecting previously unselected package libilmbase6.
Unpacking libilmbase6 (from .../libilmbase6_1.0.1-3_amd64.deb) ...
Selecting previously unselected package libopenexr6.
Unpacking libopenexr6 (from .../libopenexr6_1.6.1-4.1_amd64.deb) ...
Selecting previously unselected package libopenraw1.
Unpacking libopenraw1 (from .../libopenraw1_0.0.9-2_amd64.deb) ...
Selecting previously unselected package libthai-data.
Unpacking libthai-data (from .../libthai-data_0.1.17-1_all.deb) ...
Selecting previously unselected package libthai0.
Unpacking libthai0 (from .../libthai0_0.1.17-1_amd64.deb) ...
Selecting previously unselected package libxft2.
Unpacking libxft2 (from .../libxft2_2.2.0-3_amd64.deb) ...
Selecting previously unselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.8.0-3.1_amd64.deb) ...
Selecting previously unselected package libpango1.0-0.
Unpacking libpango1.0-0 (from .../libpango1.0-0_1.29.4-3_amd64.deb) ...
Selecting previously unselected package librsvg2-2.
Unpacking librsvg2-2 (from .../librsvg2-2_2.34.2-3_amd64.deb) ...
Selecting previously unselected package libgegl-0.1-0.
Unpacking libgegl-0.1-0 (from .../libgegl-0.1-0_0.1.8-2_amd64.deb) ...
Selecting previously unselected package libbabl-0.0-0.
Unpacking libbabl-0.0-0 (from .../libbabl-0.0-0_0.0.22-2_amd64.deb) ...
Selecting previously unselected package libgegl-0.0-0.
Unpacking libgegl-0.0-0 (from .../libgegl-0.0-0_0.0.22-3_amd64.deb) ...
Selecting previously unselected package libgegl-0.0-dbg.
Unpacking libgegl-0.0-dbg (from .../libgegl-0.0-dbg_0.0.22-3_amd64.deb) ...
Selecting previously unselected package libgegl-0.1-0-dbg.
Unpacking libgegl-0.1-0-dbg (from .../libgegl-0.1-0-dbg_0.1.8-2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libgegl-0.1-0-dbg_0.1.8-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/debug/usr/bin/gegl', which is also in package libgegl-0.0-dbg 0.0.22-3
configured to not write apport reports
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libgegl-0.1-0-dbg_0.1.8-2_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/debug/usr/bin/gegl

-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 pkg-gnome-maintainers mailing list