Bug#551932: mpd and mpich2: error when trying to install together

Ralf Treinen treinen at free.fr
Wed Oct 21 21:25:20 UTC 2009


Package: mpich2,mpd
Version: mpich2/1.2-2
Version: mpd/0.15.4-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2009-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!
  x11-common libcap2 libdb4.5 libpcre3 libsqlite3-0 mime-support
  python2.5-minimal python2.5 python-minimal python libao2 libasound2
  libasyncns0 libaudiofile0 libavutil49 libdirac-encoder0 libfaad2 libgsm1
  libopenjpeg2 liboil0.3 libschroedinger-1.0-0 libspeex1 libogg0 libtheora0
  libvorbis0a libvorbisenc2 libavcodec52 libavformat52 libcelt0 libcue1
  libdbus-1-3 libflac8 libglib2.0-0 libice6 libid3tag0 libsamplerate0 libjack0
  libmad0 libmms0 libmpcdec3 libsm6 libsndfile1 libxau6 libxdmcp6 libxcb1
  libx11-data libx11-6 libxext6 libxtst6 libpulse0 libresid-builder0c2a
  libshout3 libsidplay2 libvorbisfile3 libwavpack1 mpd python-support
  libmpich2-1.2 mpich2

Extracting templates from packages: 50%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package x11-common.
(Reading database ... 10391 files and directories currently installed.)
Unpacking x11-common (from .../x11-common_1%3a7.4+4_all.deb) ...
Selecting previously deselected package libcap2.
Unpacking libcap2 (from .../libcap2_1%3a2.17-2_amd64.deb) ...
Selecting previously deselected package libdb4.5.
Unpacking libdb4.5 (from .../libdb4.5_4.5.20-13_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_7.8-3_amd64.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.6.19-1_amd64.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.46-1_all.deb) ...
Selecting previously deselected package python2.5-minimal.
Unpacking python2.5-minimal (from .../python2.5-minimal_2.5.4-2_amd64.deb) ...
Selecting previously deselected package python2.5.
Unpacking python2.5 (from .../python2.5_2.5.4-2_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.5.4-2_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.5.4-2_all.deb) ...
Selecting previously deselected package libao2.
Unpacking libao2 (from .../libao2_0.8.8-5_amd64.deb) ...
Selecting previously deselected package libasound2.
Unpacking libasound2 (from .../libasound2_1.0.21a-1_amd64.deb) ...
Selecting previously deselected package libasyncns0.
Unpacking libasyncns0 (from .../libasyncns0_0.3-1_amd64.deb) ...
Selecting previously deselected package libaudiofile0.
Unpacking libaudiofile0 (from .../libaudiofile0_0.2.6-7_amd64.deb) ...
Selecting previously deselected package libavutil49.
Unpacking libavutil49 (from .../libavutil49_4%3a0.5+svn20090706-2+b1_amd64.deb) ...
Selecting previously deselected package libdirac-encoder0.
Unpacking libdirac-encoder0 (from .../libdirac-encoder0_1.0.2-2_amd64.deb) ...
Selecting previously deselected package libfaad2.
Unpacking libfaad2 (from .../libfaad2_2.7-2_amd64.deb) ...
Selecting previously deselected package libgsm1.
Unpacking libgsm1 (from .../libgsm1_1.0.13-2_amd64.deb) ...
Selecting previously deselected package libopenjpeg2.
Unpacking libopenjpeg2 (from .../libopenjpeg2_1.3+dfsg-4_amd64.deb) ...
Selecting previously deselected package liboil0.3.
Unpacking liboil0.3 (from .../liboil0.3_0.3.16-1_amd64.deb) ...
Selecting previously deselected package libschroedinger-1.0-0.
Unpacking libschroedinger-1.0-0 (from .../libschroedinger-1.0-0_1.0.8-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.1.4~dfsg-1_amd64.deb) ...
Selecting previously deselected package libtheora0.
Unpacking libtheora0 (from .../libtheora0_1.1.1-2_amd64.deb) ...
Selecting previously deselected package libvorbis0a.
Unpacking libvorbis0a (from .../libvorbis0a_1.2.3-3_amd64.deb) ...
Selecting previously deselected package libvorbisenc2.
Unpacking libvorbisenc2 (from .../libvorbisenc2_1.2.3-3_amd64.deb) ...
Selecting previously deselected package libavcodec52.
Unpacking libavcodec52 (from .../libavcodec52_4%3a0.5+svn20090706-2+b1_amd64.deb) ...
Selecting previously deselected package libavformat52.
Unpacking libavformat52 (from .../libavformat52_4%3a0.5+svn20090706-2+b1_amd64.deb) ...
Selecting previously deselected package libcelt0.
Unpacking libcelt0 (from .../libcelt0_0.6.1-1_amd64.deb) ...
Selecting previously deselected package libcue1.
Unpacking libcue1 (from .../libcue1_1.3.0-1_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 libflac8.
Unpacking libflac8 (from .../libflac8_1.2.1-2+b1_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.22.2-2_amd64.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from .../libice6_2%3a1.0.5-1_amd64.deb) ...
Selecting previously deselected package libid3tag0.
Unpacking libid3tag0 (from .../libid3tag0_0.15.1b-10_amd64.deb) ...
Selecting previously deselected package libsamplerate0.
Unpacking libsamplerate0 (from .../libsamplerate0_0.1.7-3_amd64.deb) ...
Selecting previously deselected package libjack0.
Unpacking libjack0 (from .../libjack0_0.116.2+svn3592-3_amd64.deb) ...
Selecting previously deselected package libmad0.
Unpacking libmad0 (from .../libmad0_0.15.1b-4_amd64.deb) ...
Selecting previously deselected package libmms0.
Unpacking libmms0 (from .../libmms0_0.4-2_amd64.deb) ...
Selecting previously deselected package libmpcdec3.
Unpacking libmpcdec3 (from .../libmpcdec3_1%3a1.2.2-2.1_amd64.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from .../libsm6_2%3a1.1.1-1_amd64.deb) ...
Selecting previously deselected package libsndfile1.
Unpacking libsndfile1 (from .../libsndfile1_1.0.20-3_amd64.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.5-1_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.4-1_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) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from .../libxext6_2%3a1.0.4-1_amd64.deb) ...
Selecting previously deselected package libxtst6.
Unpacking libxtst6 (from .../libxtst6_2%3a1.0.3-1_amd64.deb) ...
Selecting previously deselected package libpulse0.
Unpacking libpulse0 (from .../libpulse0_0.9.19-1_amd64.deb) ...
Selecting previously deselected package libresid-builder0c2a.
Unpacking libresid-builder0c2a (from .../libresid-builder0c2a_2.1.1-8_amd64.deb) ...
Selecting previously deselected package libshout3.
Unpacking libshout3 (from .../libshout3_2.2.2-5+b1_amd64.deb) ...
Selecting previously deselected package libsidplay2.
Unpacking libsidplay2 (from .../libsidplay2_2.1.1-8_amd64.deb) ...
Selecting previously deselected package libvorbisfile3.
Unpacking libvorbisfile3 (from .../libvorbisfile3_1.2.3-3_amd64.deb) ...
Selecting previously deselected package libwavpack1.
Unpacking libwavpack1 (from .../libwavpack1_4.60.0-1_amd64.deb) ...
Selecting previously deselected package mpd.
Unpacking mpd (from .../mpd_0.15.4-1_amd64.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_1.0.4_all.deb) ...
Selecting previously deselected package libmpich2-1.2.
Unpacking libmpich2-1.2 (from .../libmpich2-1.2_1.2-2_amd64.deb) ...
Selecting previously deselected package mpich2.
Unpacking mpich2 (from .../mpich2_1.2-2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/mpich2_1.2-2_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/mpd', which is also in package mpd 0:0.15.4-1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/mpich2_1.2-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 violate
section 7.6.1 of the policy. 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/bin/mpd
  

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.

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-science-maintainers mailing list