[pkg-fso-maint] Bug#646111: fso-frameworkd and fso-config-gta01: error when trying to install together

Ralf Treinen treinen at debian.org
Fri Oct 21 12:36:18 UTC 2011


Package: fso-config-gta01,fso-frameworkd
Version: fso-config-gta01/20090224-1
Version: fso-frameworkd/0.9.5.9+git20110512-2
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2011-10-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!
  libtinfo5 libpcre3 libdbus-1-3 libglib2.0-0 libdbus-glib-1-2 libdb4.8
  libphone-utils0 libxml2 mime-support python2.7-minimal libexpat1 python2.7
  python-minimal python python-support dbus libcdparanoia0 libgstreamer0.10-0
  libogg0 liborc-0.4-0 libtheora0 libvisual-0.4-0 libvorbis0a libvorbisenc2
  iso-codes libgstreamer-plugins-base0.10-0 gstreamer0.10-plugins-base
  libyaml-0-2 python-dbus python-serial python-yaml python-phoneutils
  fso-frameworkd fso-sounds-yue-base fso-config-gta01

Extracting templates from packages: 85%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libtinfo5.
(Reading database ... 10586 files and directories currently installed.)
Unpacking libtinfo5 (from .../libtinfo5_5.9-2_amd64.deb) ...
Selecting previously unselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ...
Selecting previously unselected package libdbus-1-3.
Unpacking libdbus-1-3 (from .../libdbus-1-3_1.4.16-1_amd64.deb) ...
Selecting previously unselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.28.8-1_amd64.deb) ...
Selecting previously unselected package libdbus-glib-1-2.
Unpacking libdbus-glib-1-2 (from .../libdbus-glib-1-2_0.98-1_amd64.deb) ...
Selecting previously unselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.30-10_amd64.deb) ...
Selecting previously unselected package libphone-utils0.
Unpacking libphone-utils0 (from .../libphone-utils0_0.1+git20110523-1_amd64.deb) ...
Selecting previously unselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5_amd64.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.51-1_all.deb) ...
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.2-7_amd64.deb) ...
Selecting previously unselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7_amd64.deb) ...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.2-7_amd64.deb) ...
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.7.2-9_all.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.2-9_all.deb) ...
Selecting previously unselected package python-support.
Unpacking python-support (from .../python-support_1.0.14_all.deb) ...
Selecting previously unselected package dbus.
Unpacking dbus (from .../dbus_1.4.16-1_amd64.deb) ...
Selecting previously unselected package libcdparanoia0.
Unpacking libcdparanoia0 (from .../libcdparanoia0_3.10.2+debian-10_amd64.deb) ...
Selecting previously unselected package libgstreamer0.10-0.
Unpacking libgstreamer0.10-0 (from .../libgstreamer0.10-0_0.10.35-1_amd64.deb) ...
Selecting previously unselected package libogg0.
Unpacking libogg0 (from .../libogg0_1.2.2~dfsg-1_amd64.deb) ...
Selecting previously unselected package liborc-0.4-0.
Unpacking liborc-0.4-0 (from .../liborc-0.4-0_1%3a0.4.16-1_amd64.deb) ...
Selecting previously unselected package libtheora0.
Unpacking libtheora0 (from .../libtheora0_1.1.1+dfsg.1-3_amd64.deb) ...
Selecting previously unselected package libvisual-0.4-0.
Unpacking libvisual-0.4-0 (from .../libvisual-0.4-0_0.4.0-3_amd64.deb) ...
Selecting previously unselected package libvorbis0a.
Unpacking libvorbis0a (from .../libvorbis0a_1.3.2-1_amd64.deb) ...
Selecting previously unselected package libvorbisenc2.
Unpacking libvorbisenc2 (from .../libvorbisenc2_1.3.2-1_amd64.deb) ...
Selecting previously unselected package iso-codes.
Unpacking iso-codes (from .../iso-codes_3.29-1_all.deb) ...
Selecting previously unselected package libgstreamer-plugins-base0.10-0.
Unpacking libgstreamer-plugins-base0.10-0 (from .../libgstreamer-plugins-base0.10-0_0.10.35-1_amd64.deb) ...
Selecting previously unselected package gstreamer0.10-plugins-base.
Unpacking gstreamer0.10-plugins-base (from .../gstreamer0.10-plugins-base_0.10.35-1_amd64.deb) ...
Selecting previously unselected package libyaml-0-2.
Unpacking libyaml-0-2 (from .../libyaml-0-2_0.1.4-1_amd64.deb) ...
Selecting previously unselected package python-dbus.
Unpacking python-dbus (from .../python-dbus_0.84.0-2_amd64.deb) ...
Selecting previously unselected package python-serial.
Unpacking python-serial (from .../python-serial_2.5-2.1_all.deb) ...
Selecting previously unselected package python-yaml.
Unpacking python-yaml (from .../python-yaml_3.10-1_amd64.deb) ...
Selecting previously unselected package python-phoneutils.
Unpacking python-phoneutils (from .../python-phoneutils_0.1+git20100219-1+b1_amd64.deb) ...
Selecting previously unselected package fso-frameworkd.
Unpacking fso-frameworkd (from .../fso-frameworkd_0.9.5.9+git20110512-2_all.deb) ...
Selecting previously unselected package fso-sounds-yue-base.
Unpacking fso-sounds-yue-base (from .../fso-sounds-yue-base_20081031-2_all.deb) ...
Selecting previously unselected package fso-config-gta01.
Unpacking fso-config-gta01 (from .../fso-config-gta01_20090224-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/fso-config-gta01_20090224-1_all.deb (--unpack):
 trying to overwrite '/etc/freesmartphone/opreferences/conf/phone/silent.yaml', which is also in package fso-frameworkd 0.9.5.9+git20110512-2
configured to not write apport reports
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/fso-config-gta01_20090224-1_all.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):

  /etc/freesmartphone/opreferences/conf/phone/silent.yaml
  /etc/freesmartphone/opreferences/conf/profiles/default.yaml
  /etc/freesmartphone/opreferences/conf/rules/default.yaml
  /etc/freesmartphone/opreferences/conf/rules/silent.yaml

This bug has been filed against 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 then
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-fso-maint mailing list