[pkg-cryptsetup-devel] Bug#952703: [cryptsetup] needs breaks on old cryptsetup-bin

jnqnfe at gmail.com jnqnfe at gmail.com
Thu Feb 27 20:33:54 GMT 2020


Package: cryptsetup
Version: 2:2.2.2-3

I've noticed that selectively trying to just upgrade the cryptsetup
package via `aptitude upgrade cryptsetup` fails with the following dpkg
error:

```
dpkg: error processing archive
/var/cache/apt/archives/cryptsetup_2%3a2.2.2-3_deb (--unpack):
 trying to overwrite '/usr/sbin/luksformat', which is also in package
cryptsetup-bin 2:1.7.0-2
```

I expect you forgot to place a suitable breaks on the older packages
after the reorganisation.

I experienced this running the above command whilst updating cryptsetup
in a live-disc environment that has a much to old version (don't worry
my actual installs are uptodate!). Clearly what should be expected from
a targetted upgrade specifying just `cryptsetup` and not `cryptsetup
cryptsetup-bin cryptsetup-initramfs` should be that it either pulls in
all three as necessary upgrades or at least complains about version
conflicts. It should never just fail like this.



More information about the pkg-cryptsetup-devel mailing list