[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#960688: fwupd: missing Breaks: fwupdate (<< 12-7)



Package: fwupd
Version: 1.3.9-4
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts replaces-without-breaks

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 fwupdate/stable
  # (1)
  apt-get install fwupd
  apt-get remove fwupd
  # (2)

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

  /usr/bin/fwupdate
  /usr/share/man/man1/fwupdate.1.gz
  /var/lib/fwupdate/

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

The fwupd package has the following relationships with fwupdate:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  fwupdate (<< 12-7)
  Provides:  fwupdate

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

0m32.0s ERROR: FAIL: After purging files have disappeared:
  /usr/bin/fwupdate      owned by: fwupd
  /usr/share/man/man1/fwupdate.1.gz      owned by: fwupd
  /var/lib/fwupdate/     owned by: fwupdate

0m32.0s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/fwupdate.list       not owned


cheers,

Andreas

Attachment: fwupdate=12-4_fwupd=1.3.9-4.log.gz
Description: application/gzip


Reply to: