Package: libvalhalla1-dbg,libvalhalla2-dbg
Version: libvalhalla1-dbg/1.0.1-2
Version: libvalhalla2-dbg/2.0.0-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2010-10-05
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!
  libxml2 libavutil49 libdirac-encoder0 libfaad2 libgsm1 libopenjpeg2
  liborc-0.4-0 libschroedinger-1.0-0 libspeex1 libogg0 libtheora0 libvorbis0a
  libvorbisenc2 libavcodec52 libavformat52 libexif12 libnfo1 libvalhalla1
  libvalhalla1-dbg libvalhalla2 libvalhalla2-dbg
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libxml2.
(Reading database ... 12265 files and directories currently installed.)
Unpacking libxml2 (from .../libxml2_2.7.7.dfsg-4_amd64.deb) ...
Selecting previously deselected package libavutil49.
Unpacking libavutil49 (from .../libavutil49_4%3a0.5.2-5_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-4_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.6-2_amd64.deb) ...
Selecting previously deselected package libschroedinger-1.0-0.
Unpacking libschroedinger-1.0-0 (from 
.../libschroedinger-1.0-0_1.0.9-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 libvorbis0a.
Unpacking libvorbis0a (from .../libvorbis0a_1.3.1-1_amd64.deb) ...
Selecting previously deselected package libvorbisenc2.
Unpacking libvorbisenc2 (from .../libvorbisenc2_1.3.1-1_amd64.deb) ...
Selecting previously deselected package libavcodec52.
Unpacking libavcodec52 (from .../libavcodec52_4%3a0.5.2-5_amd64.deb) ...
Selecting previously deselected package libavformat52.
Unpacking libavformat52 (from .../libavformat52_4%3a0.5.2-5_amd64.deb) ...
Selecting previously deselected package libexif12.
Unpacking libexif12 (from .../libexif12_0.6.19-1_amd64.deb) ...
Selecting previously deselected package libnfo1.
Unpacking libnfo1 (from .../libnfo1_1.0.1-1_amd64.deb) ...
Selecting previously deselected package libvalhalla1.
Unpacking libvalhalla1 (from .../libvalhalla1_1.0.1-2_amd64.deb) ...
Selecting previously deselected package libvalhalla1-dbg.
Unpacking libvalhalla1-dbg (from .../libvalhalla1-dbg_1.0.1-2_amd64.deb) ...
Selecting previously deselected package libvalhalla2.
Unpacking libvalhalla2 (from .../libvalhalla2_2.0.0-1_amd64.deb) ...
Selecting previously deselected package libvalhalla2-dbg.
Unpacking libvalhalla2-dbg (from .../libvalhalla2-dbg_2.0.0-1_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/libvalhalla2-dbg_2.0.0-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/debug/usr/bin/libvalhalla-test', which is also 
in package libvalhalla1-dbg 0:1.0.1-2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libvalhalla2-dbg_2.0.0-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cow-shell unlink .ilist: No such file or directory


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/libvalhalla-test

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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to