Package: ffmpeg
Version: 7:2.7.2-1
Severity: serious
User: debian...@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

Attachment: libav-tools=6%11.4-2_ffmpeg=7%2.7.2-1.log.gz
Description: application/gzip

_______________________________________________
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