Bug#634942: gnome-font-viewer and capplets-data: error when trying to install together

Ralf Treinen treinen at free.fr
Thu Jul 21 06:30:25 UTC 2011


Package: capplets-data,gnome-font-viewer
Version: capplets-data/1:2.30.1-3
Version: gnome-font-viewer/3.0.1-4
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2011-07-21
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!
  multiarch-support gcc-4.6-base libgcc1 libstdc++6 libgpg-error0 libgcrypt11
  libkeyutils1 libtasn1-3 libpcre3 libglib2.0-0 libatk1.0-data libatk1.0-0
  libavahi-common-data libavahi-common3 libdbus-1-3 libavahi-client3
  libgnutls26 libkrb5support0 libk5crypto3 libkrb5-3 libgssapi-krb5-2 libcups2
  libdatrie1 libdbus-glib-1-2 libexpat1 libfreetype6 ucf ttf-dejavu-core
  fontconfig-config libfontconfig1 libjpeg8 libjasper1 libpng12-0 libjpeg62
  libtiff4 libxau6 libxdmcp6 libxcb1 libx11-data libx11-6 libgdk-pixbuf2.0-0
  libpixman-1-0 libthai-data libthai0 libxcb-render0 libxcb-shm0
  libxcomposite1 libxfixes3 libxrender1 libxcursor1 libxdamage1 libxext6
  libxft2 libxi6 libxinerama1 libxrandr2 libdb4.8 libsasl2-2 libldap-2.4-2
  libxml2 mime-support python2.6-minimal python2.6 python-minimal python
  libgmp10 libgmpxx4ldbl libppl9 libpwl5 libppl-c4 libcloog-ppl0 libmpfr4
  libmpc2 cpp-4.6 cpp libidl0 liborbit2 dbus gconf2-common libgconf2-4 psmisc
  dbus-x11 gconf2 capplets-data dconf-gsettings-backend fontconfig libcairo2
  libcairo-gobject2 libgtk-3-common libpango1.0-0 shared-mime-info libgtk-3-0
  gnome-utils-common gnome-font-viewer

Extracting templates from packages: 31%
Extracting templates from packages: 63%
Extracting templates from packages: 95%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package multiarch-support.
(Reading database ... 9215 files and directories currently installed.)
Unpacking multiarch-support (from .../multiarch-support_2.13-10_amd64.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up multiarch-support (2.13-10) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 9219 files and directories currently installed.)
Preparing to replace gcc-4.6-base 4.6.0-11 (using .../gcc-4.6-base_4.6.1-4_amd64.deb) ...
Unpacking replacement gcc-4.6-base ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up gcc-4.6-base (4.6.1-4) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 9217 files and directories currently installed.)
Preparing to replace libgcc1 1:4.6.0-11 (using .../libgcc1_1%3a4.6.1-4_amd64.deb) ...
Unpacking replacement libgcc1 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libgcc1 (1:4.6.1-4) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 9217 files and directories currently installed.)
Preparing to replace libstdc++6 4.6.0-11 (using .../libstdc++6_4.6.1-4_amd64.deb) ...
Unpacking replacement libstdc++6 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libstdc++6 (4.6.1-4) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libgpg-error0.
(Reading database ... 9217 files and directories currently installed.)
Unpacking libgpg-error0 (from .../libgpg-error0_1.10-0.3_amd64.deb) ...
Selecting previously deselected package libgcrypt11.
Unpacking libgcrypt11 (from .../libgcrypt11_1.4.6-7_amd64.deb) ...
Selecting previously deselected package libkeyutils1.
Unpacking libkeyutils1 (from .../libkeyutils1_1.4-6_amd64.deb) ...
Selecting previously deselected package libtasn1-3.
Unpacking libtasn1-3 (from .../libtasn1-3_2.9-4_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.12-3_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 libatk1.0-data.
Unpacking libatk1.0-data (from .../libatk1.0-data_2.0.1-2_all.deb) ...
Selecting previously deselected package libatk1.0-0.
Unpacking libatk1.0-0 (from .../libatk1.0-0_2.0.1-2_amd64.deb) ...
Selecting previously deselected package libavahi-common-data.
Unpacking libavahi-common-data (from .../libavahi-common-data_0.6.30-5_amd64.deb) ...
Selecting previously deselected package libavahi-common3.
Unpacking libavahi-common3 (from .../libavahi-common3_0.6.30-5_amd64.deb) ...
Selecting previously deselected package libdbus-1-3.
Unpacking libdbus-1-3 (from .../libdbus-1-3_1.4.12-5_amd64.deb) ...
Selecting previously deselected package libavahi-client3.
Unpacking libavahi-client3 (from .../libavahi-client3_0.6.30-5_amd64.deb) ...
Selecting previously deselected package libgnutls26.
Unpacking libgnutls26 (from .../libgnutls26_2.10.5-2_amd64.deb) ...
Selecting previously deselected package libkrb5support0.
Unpacking libkrb5support0 (from .../libkrb5support0_1.9.1+dfsg-1+b1_amd64.deb) ...
Selecting previously deselected package libk5crypto3.
Unpacking libk5crypto3 (from .../libk5crypto3_1.9.1+dfsg-1+b1_amd64.deb) ...
Selecting previously deselected package libkrb5-3.
Unpacking libkrb5-3 (from .../libkrb5-3_1.9.1+dfsg-1+b1_amd64.deb) ...
Selecting previously deselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.9.1+dfsg-1+b1_amd64.deb) ...
Selecting previously deselected package libcups2.
Unpacking libcups2 (from .../libcups2_1.4.7-1_amd64.deb) ...
Selecting previously deselected package libdatrie1.
Unpacking libdatrie1 (from .../libdatrie1_0.2.4-3_amd64.deb) ...
Selecting previously deselected package libdbus-glib-1-2.
Unpacking libdbus-glib-1-2 (from .../libdbus-glib-1-2_0.94-4_amd64.deb) ...
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-2_amd64.deb) ...
Selecting previously deselected package ucf.
Unpacking ucf (from .../ucf_3.0025+nmu2_all.deb) ...
Moving old data out of the way
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-3_all.deb) ...
Selecting previously deselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0-3_amd64.deb) ...
Selecting previously deselected package libjpeg8.
Unpacking libjpeg8 (from .../libjpeg8_8c-2_amd64.deb) ...
Selecting previously deselected package libjasper1.
Unpacking libjasper1 (from .../libjasper1_1.900.1-9_amd64.deb) ...
Selecting previously deselected package libpng12-0.
Unpacking libpng12-0 (from .../libpng12-0_1.2.46-2_amd64.deb) ...
Selecting previously deselected package libjpeg62.
Unpacking libjpeg62 (from .../libjpeg62_6b1-2_amd64.deb) ...
Selecting previously deselected package libtiff4.
Unpacking libtiff4 (from .../libtiff4_3.9.5-1_amd64.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.6-3_amd64.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.1.0-3_amd64.deb) ...
Selecting previously deselected package libxcb1.
Unpacking libxcb1 (from .../libxcb1_1.7-3_amd64.deb) ...
Selecting previously deselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.4.3-2_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.4.3-2_amd64.deb) ...
Selecting previously deselected package libgdk-pixbuf2.0-0.
Unpacking libgdk-pixbuf2.0-0 (from .../libgdk-pixbuf2.0-0_2.23.5-2_amd64.deb) ...
Selecting previously deselected package libpixman-1-0.
Unpacking libpixman-1-0 (from .../libpixman-1-0_0.22.2-1_amd64.deb) ...
Selecting previously deselected package libthai-data.
Unpacking libthai-data (from .../libthai-data_0.1.15-2_all.deb) ...
Selecting previously deselected package libthai0.
Unpacking libthai0 (from .../libthai0_0.1.15-2_amd64.deb) ...
Selecting previously deselected package libxcb-render0.
Unpacking libxcb-render0 (from .../libxcb-render0_1.7-3_amd64.deb) ...
Selecting previously deselected package libxcb-shm0.
Unpacking libxcb-shm0 (from .../libxcb-shm0_1.7-3_amd64.deb) ...
Selecting previously deselected package libxcomposite1.
Unpacking libxcomposite1 (from .../libxcomposite1_1%3a0.4.3-2_amd64.deb) ...
Selecting previously deselected package libxfixes3.
Unpacking libxfixes3 (from .../libxfixes3_1%3a5.0-4_amd64.deb) ...
Selecting previously deselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_1%3a0.9.6-2_amd64.deb) ...
Selecting previously deselected package libxcursor1.
Unpacking libxcursor1 (from .../libxcursor1_1%3a1.1.12-1_amd64.deb) ...
Selecting previously deselected package libxdamage1.
Unpacking libxdamage1 (from .../libxdamage1_1%3a1.1.3-2_amd64.deb) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from .../libxext6_2%3a1.3.0-3_amd64.deb) ...
Selecting previously deselected package libxft2.
Unpacking libxft2 (from .../libxft2_2.2.0-3_amd64.deb) ...
Selecting previously deselected package libxi6.
Unpacking libxi6 (from .../libxi6_2%3a1.4.3-3_amd64.deb) ...
Selecting previously deselected package libxinerama1.
Unpacking libxinerama1 (from .../libxinerama1_2%3a1.1.1-3_amd64.deb) ...
Selecting previously deselected package libxrandr2.
Unpacking libxrandr2 (from .../libxrandr2_2%3a1.3.2-2_amd64.deb) ...
Selecting previously deselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.30-9_amd64.deb) ...
Selecting previously deselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.24~rc1.dfsg1+cvs2011-05-23-4_amd64.deb) ...
Selecting previously deselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.25-1.1_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-3_amd64.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.51-1_all.deb) ...
Selecting previously deselected package python2.6-minimal.
Unpacking python2.6-minimal (from .../python2.6-minimal_2.6.7-3_amd64.deb) ...
Selecting previously deselected package python2.6.
Unpacking python2.6 (from .../python2.6_2.6.7-3_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.6.7-1_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.6.7-1_all.deb) ...
Selecting previously deselected package libgmp10.
Unpacking libgmp10 (from .../libgmp10_2%3a5.0.1+dfsg-7_amd64.deb) ...
Selecting previously deselected package libgmpxx4ldbl.
Unpacking libgmpxx4ldbl (from .../libgmpxx4ldbl_2%3a5.0.1+dfsg-7_amd64.deb) ...
Selecting previously deselected package libppl9.
Unpacking libppl9 (from .../libppl9_0.11.2-4_amd64.deb) ...
Selecting previously deselected package libpwl5.
Unpacking libpwl5 (from .../libpwl5_0.11.2-4_amd64.deb) ...
Selecting previously deselected package libppl-c4.
Unpacking libppl-c4 (from .../libppl-c4_0.11.2-4_amd64.deb) ...
Selecting previously deselected package libcloog-ppl0.
Unpacking libcloog-ppl0 (from .../libcloog-ppl0_0.15.9-3_amd64.deb) ...
Selecting previously deselected package libmpfr4.
Unpacking libmpfr4 (from .../libmpfr4_3.0.1-5_amd64.deb) ...
Selecting previously deselected package libmpc2.
Unpacking libmpc2 (from .../libmpc2_0.9-3_amd64.deb) ...
Selecting previously deselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.1-4_amd64.deb) ...
Selecting previously deselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.6.1-2_amd64.deb) ...
Selecting previously deselected package libidl0.
Unpacking libidl0 (from .../libidl0_0.8.14-0.2_amd64.deb) ...
Selecting previously deselected package liborbit2.
Unpacking liborbit2 (from .../liborbit2_1%3a2.14.18-0.2_amd64.deb) ...
Selecting previously deselected package dbus.
Unpacking dbus (from .../dbus_1.4.12-5_amd64.deb) ...
Selecting previously deselected package gconf2-common.
Unpacking gconf2-common (from .../gconf2-common_2.32.4-1_all.deb) ...
Selecting previously deselected package libgconf2-4.
Unpacking libgconf2-4 (from .../libgconf2-4_2.32.4-1_amd64.deb) ...
Selecting previously deselected package psmisc.
Unpacking psmisc (from .../psmisc_22.14-1_amd64.deb) ...
Selecting previously deselected package dbus-x11.
Unpacking dbus-x11 (from .../dbus-x11_1.4.12-5_amd64.deb) ...
Selecting previously deselected package gconf2.
Unpacking gconf2 (from .../gconf2_2.32.4-1_amd64.deb) ...
Selecting previously deselected package capplets-data.
Unpacking capplets-data (from .../capplets-data_1%3a2.30.1-3_all.deb) ...
Selecting previously deselected package dconf-gsettings-backend.
Unpacking dconf-gsettings-backend (from .../dconf-gsettings-backend_0.7.5-3_amd64.deb) ...
Selecting previously deselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.8.0-3_amd64.deb) ...
Selecting previously deselected package libcairo2.
Unpacking libcairo2 (from .../libcairo2_1.10.2-6_amd64.deb) ...
Selecting previously deselected package libcairo-gobject2.
Unpacking libcairo-gobject2 (from .../libcairo-gobject2_1.10.2-6_amd64.deb) ...
Selecting previously deselected package libgtk-3-common.
Unpacking libgtk-3-common (from .../libgtk-3-common_3.0.11-1_all.deb) ...
Selecting previously deselected package libpango1.0-0.
Unpacking libpango1.0-0 (from .../libpango1.0-0_1.28.4-1_amd64.deb) ...
Selecting previously deselected package shared-mime-info.
Unpacking shared-mime-info (from .../shared-mime-info_0.90-1_amd64.deb) ...
Selecting previously deselected package libgtk-3-0.
Unpacking libgtk-3-0 (from .../libgtk-3-0_3.0.11-1_amd64.deb) ...
Selecting previously deselected package gnome-utils-common.
Unpacking gnome-utils-common (from .../gnome-utils-common_3.0.1-4_all.deb) ...
Selecting previously deselected package gnome-font-viewer.
Unpacking gnome-font-viewer (from .../gnome-font-viewer_3.0.1-4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/gnome-font-viewer_3.0.1-4_amd64.deb (--unpack):
 trying to overwrite '/usr/share/applications/gnome-font-viewer.desktop', which is also in package capplets-data 1:2.30.1-3
configured to not write apport reports
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/gnome-font-viewer_3.0.1-4_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/share/applications/gnome-font-viewer.desktop

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. You may
also register in the BTS that the other package is affected by the bug.

-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