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

Bug#988290: {tcl,lua}-hamlib: missing Breaks: {libhamlib2-tcl,lua-hamlib2} (<< 4.0)



Package: tcl-hamlib,lua-hamlib
Version: 4.0-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 libhamlib2-tcl/buster
  # (1)
  apt-get install tcl-hamlib/bullseye
  apt-get remove tcl-hamlib
  # (2)

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


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 tcl-hamlib package has the following relationships with libhamlib2-tcl:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  libhamlib2-tcl (<< 4.0)
  Provides:  libhamlib2-tcl

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

1m39.3s ERROR: FAIL: After purging files have disappeared:
  /usr/lib/x86_64-linux-gnu/tcl8.6/Hamlib/hamlibtcl.so -> hamlibtcl-3.3.so       owned by: tcl-hamlib
  /usr/lib/x86_64-linux-gnu/tcl8.6/Hamlib/pkgIndex.tcl   owned by: tcl-hamlib

1m39.3s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/libhamlib2-tcl.list         not owned

1m24.3s ERROR: FAIL: After purging files have disappeared:
  /usr/lib/x86_64-linux-gnu/lua/5.2/Hamliblua.so -> ../../liblua5.2-hamlib2.so.0.0.0     owned by: lua-hamlib:amd64
  /usr/lib/x86_64-linux-gnu/lua/5.3/Hamliblua.so -> ../../liblua5.3-hamlib2.so.0.0.0     owned by: lua-hamlib:amd64

1m24.3s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/lua-hamlib2:amd64.list      not owned


cheers,

Andreas

Attachment: libhamlib2-tcl=3.3-5_tcl-hamlib=4.0-4.log.gz
Description: application/gzip


Reply to: