Bug#793085: ffmpeg: removal of ffmpeg makes files disappear from libav-tools

Andreas Beckmann anbe at debian.org
Tue Jul 21 08:48:09 UTC 2015


Package: ffmpeg
Version: 7:2.7.2-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts replaces-without-breaks
Control: affects -1 + libav-tools

Hi,

during a test with piuparts and DOSE tools I noticed your package causes
removal of files that also belong to another package.
This is caused by using Replaces without corresponding Breaks.

The installation sequence to reproduce this problem is

  apt-get install libav-tools
  # (1)
  apt-get install ffmpeg
  apt-get remove ffmpeg
  # (2)

The list of installed files at points (1) and (2) should be identical,
but the following files have disappeared:

  usr/bin/qt-faststart
  usr/share/man/man1/qt-faststart.1.gz

This is a serious bug violating policy 7.6, see
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
and also see the footnote that describes this incorrect behavior
https://www.debian.org/doc/debian-policy/footnotes.html#f53

The ffmpeg package has the following relationships with libav-tools:

  Conflicts: n/a
  Breaks:    libav-tools (<< 6:9~), qt-faststart (<< 7:2.7.1-3~)
  Replaces:  libav-tools (<< 6:12~), qt-faststart (<< 7:2.7.1-3~)

The Breaks was not bumped to match the Replaces.

>From the attached log (scroll to the bottom...):

1m28.2s ERROR: FAIL: After purging files have disappeared:
  /usr/bin/qt-faststart  owned by: ffmpeg
  /usr/share/man/man1/qt-faststart.1.gz  owned by: ffmpeg

1m28.2s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/libav-tools.list    not owned



cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libav-tools=6%11.4-2_ffmpeg=7%2.7.2-1.log.gz
Type: application/gzip
Size: 22422 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20150721/770cf594/attachment-0001.bin>


More information about the pkg-multimedia-maintainers mailing list