Bug#1030024: systemd-cron: missing Breaks+Replaces: cruft-common (<< 0.9.44)

Andreas Beckmann anbe at debian.org
Mon Jan 30 13:09:23 GMT 2023


Package: systemd-cron
Version: 1.15.19-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stable'.
It installed fine in 'stable', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

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

  Preparing to unpack .../systemd-cron_1.15.19-3_amd64.deb ...
  Unpacking systemd-cron (1.15.19-3) ...
  dpkg: error processing archive /var/cache/apt/archives/systemd-cron_1.15.19-3_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/cruft/filters-unex/systemd-cron', which is also in package cruft-common 0.9.39
  Errors were encountered while processing:
   /var/cache/apt/archives/systemd-cron_1.15.19-3_amd64.deb


0.9.44 is a made up version newer then any version of cruft-common
that was ever in sid (assuming the file conflict existed with all
versions in sid, too, until src:cruft was removed from sid), just
in case someone is going to resurrect it some day.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cruft-common=0.9.39_systemd-cron=1.15.19-3.log.gz
Type: application/gzip
Size: 10170 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20230130/148d5f9e/attachment.gz>


More information about the Pkg-systemd-maintainers mailing list