Package: liblavfile-2.0-0,liblavfile-2.1-0
Version: liblavfile-2.0-0/1:2.1.0+debian-1
Version: liblavfile-2.1-0/1:2.1.0+debian-2
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2013-10-24
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:


Selecting previously unselected package libavutil52:amd64.
(Reading database ... 10882 files and directories currently installed.)
Unpacking libavutil52:amd64 (from .../libavutil52_6%3a9.10-1_amd64.deb) ...
Selecting previously unselected package libgsm1:amd64.
Unpacking libgsm1:amd64 (from .../libgsm1_1.0.13-4_amd64.deb) ...
Selecting previously unselected package libmp3lame0:amd64.
Unpacking libmp3lame0:amd64 (from .../libmp3lame0_3.99.5+repack1-3_amd64.deb) 
...
Selecting previously unselected package libopenjpeg2:amd64.
Unpacking libopenjpeg2:amd64 (from .../libopenjpeg2_1.3+dfsg-4.6_amd64.deb) ...
Selecting previously unselected package libopus0.
Unpacking libopus0 (from .../libopus0_1.1~beta-3_amd64.deb) ...
Selecting previously unselected package liborc-0.4-0:amd64.
Unpacking liborc-0.4-0:amd64 (from .../liborc-0.4-0_1%3a0.4.18-1_amd64.deb) ...
Selecting previously unselected package libschroedinger-1.0-0:amd64.
Unpacking libschroedinger-1.0-0:amd64 (from 
.../libschroedinger-1.0-0_1.0.11-2_amd64.deb) ...
Selecting previously unselected package libspeex1:amd64.
Unpacking libspeex1:amd64 (from .../libspeex1_1.2~rc1-7_amd64.deb) ...
Selecting previously unselected package libogg0:amd64.
Unpacking libogg0:amd64 (from .../libogg0_1.3.1-1_amd64.deb) ...
Selecting previously unselected package libtheora0:amd64.
Unpacking libtheora0:amd64 (from .../libtheora0_1.1.1+dfsg.1-3.1_amd64.deb) ...
Selecting previously unselected package libva1:amd64.
Unpacking libva1:amd64 (from .../libva1_1.1.1-3_amd64.deb) ...
Selecting previously unselected package libvorbis0a:amd64.
Unpacking libvorbis0a:amd64 (from .../libvorbis0a_1.3.2-1.3_amd64.deb) ...
Selecting previously unselected package libvorbisenc2:amd64.
Unpacking libvorbisenc2:amd64 (from .../libvorbisenc2_1.3.2-1.3_amd64.deb) ...
Selecting previously unselected package libvpx1:amd64.
Unpacking libvpx1:amd64 (from .../libvpx1_1.2.0-2_amd64.deb) ...
Selecting previously unselected package libx264-133:amd64.
Unpacking libx264-133:amd64 (from 
.../libx264-133_2%3a0.133.2339+git585324f-2_amd64.deb) ...
Selecting previously unselected package libxvidcore4:amd64.
Unpacking libxvidcore4:amd64 (from .../libxvidcore4_2%3a1.3.2-9_amd64.deb) ...
Selecting previously unselected package libavcodec54:amd64.
Unpacking libavcodec54:amd64 (from .../libavcodec54_6%3a9.10-1_amd64.deb) ...
Selecting previously unselected package libdv4:amd64.
Unpacking libdv4:amd64 (from .../libdv4_1.0.0-6_amd64.deb) ...
Selecting previously unselected package libfaad2:amd64.
Unpacking libfaad2:amd64 (from .../libfaad2_2.7-8_amd64.deb) ...
Selecting previously unselected package libjpeg8:amd64.
Unpacking libjpeg8:amd64 (from .../libjpeg8_8d-1_amd64.deb) ...
Selecting previously unselected package libmjpegutils-2.0-0.
Unpacking libmjpegutils-2.0-0 (from 
.../libmjpegutils-2.0-0_1%3a2.1.0+debian-1_amd64.deb) ...
Selecting previously unselected package libpng12-0:amd64.
Unpacking libpng12-0:amd64 (from .../libpng12-0_1.2.49-5_amd64.deb) ...
Selecting previously unselected package libswscale2:amd64.
Unpacking libswscale2:amd64 (from .../libswscale2_6%3a9.10-1_amd64.deb) ...
Selecting previously unselected package libvorbisfile3:amd64.
Unpacking libvorbisfile3:amd64 (from .../libvorbisfile3_1.3.2-1.3_amd64.deb) ...
Selecting previously unselected package libquicktime2:amd64.
Unpacking libquicktime2:amd64 (from .../libquicktime2_2%3a1.2.4-4+b1_amd64.deb) 
...
Selecting previously unselected package liblavfile-2.0-0.
Unpacking liblavfile-2.0-0 (from 
.../liblavfile-2.0-0_1%3a2.1.0+debian-1_amd64.deb) ...
Selecting previously unselected package libmjpegutils-2.1-0.
Unpacking libmjpegutils-2.1-0 (from 
.../libmjpegutils-2.1-0_1%3a2.1.0+debian-2_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/libmjpegutils-2.1-0_1%3a2.1.0+debian-2_amd64.deb 
(--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libmjpegutils-2.1.so.0.0.0', 
which is also in package libmjpegutils-2.0-0 1:2.1.0+debian-1
Selecting previously unselected package liblavfile-2.1-0.
Unpacking liblavfile-2.1-0 (from 
.../liblavfile-2.1-0_1%3a2.1.0+debian-2_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/liblavfile-2.1-0_1%3a2.1.0+debian-2_amd64.deb 
(--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/liblavfile-2.1.so.0.0.0', which 
is also in package liblavfile-2.0-0 1:2.1.0+debian-1
Errors were encountered while processing:
 /var/cache/apt/archives/libmjpegutils-2.1-0_1%3a2.1.0+debian-2_amd64.deb
 /var/cache/apt/archives/liblavfile-2.1-0_1%3a2.1.0+debian-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/x86_64-linux-gnu/liblavfile-2.1.so.0
  /usr/lib/x86_64-linux-gnu/liblavfile-2.1.so.0.0.0

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

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to