[pkg-cryptsetup-devel] Bug#933487: cryptsetup-run: missing Breaks+Replaces: cryptsetup (<< 2:2.2)

Andreas Beckmann anbe at debian.org
Tue Jul 30 17:19:09 BST 2019


Package: cryptsetup-run
Version: 2:2.2.0~rc1-1
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
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' 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

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

  Preparing to unpack .../cryptsetup-run_2%3a2.2.0~rc1-1_amd64.deb ...
  Unpacking cryptsetup-run (2:2.2.0~rc1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/cryptsetup-run_2%3a2.2.0~rc1-1_amd64.deb (--unpack):
   trying to overwrite '/etc/default/cryptdisks', which is also in package cryptsetup 2:2.1.0-7
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/cryptsetup-run_2%3a2.2.0~rc1-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptsetup=2:2.1.0-7_cryptsetup-run=2:2.2.0~rc1-1.log.gz
Type: application/gzip
Size: 8326 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20190730/7adf3154/attachment.gz>


More information about the pkg-cryptsetup-devel mailing list