[pkg-cryptsetup-devel] Bug#901773: cryptsetup-run >= 2.0.3-2 needs to break/replace cryptsetup-bin < 2.0.3-2

Aurélien COUDERC coucouf at coucouf.fr
Mon Jun 18 09:20:22 BST 2018


Package: cryptsetup-run
Version: 2:2.0.3-1
Severity: important

Dear Maintainer,

I had upgraded the cryptsetup* packages from 2.0.2* to 2.0.3-1 and forgot
cryptsetup-bin, which did work.
Then the next apt upgrade tried to upgrade cryptsetup* to 2.0.3-2 while still
leaving crypsetup-bin in version 2.0.2 and this broke the installation of
cryptsetup-run:

Unpacking cryptsetup-run (2:2.0.3-2) over (2:2.0.3-1) ...
dpkg: error processing archive /var/cache/apt/archives/cryptsetup-
run_2%3a2.0.3-2_amd64.deb (--unpack):
 trying to overwrite '/usr/sbin/luksformat', which is also in package
cryptsetup-bin 2:2.0.2-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/cryptsetup-run_2%3a2.0.3-2_amd64.deb

Running the following got me out of this:
# apt --fix-broken install cryptsetup-bin/unstable libcryptsetup12/unstable
cryptsetup-run/unstable

Adding a break/replace cryptsetup-bin < 2.0.3 (-2 ?) would probably help
avoiding this.


Cheers,
--
Aurélien



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cryptsetup-run depends on:
ii  cryptsetup-bin         2:2.0.2-1
ii  debconf [debconf-2.0]  1.5.67
ii  dmsetup                2:1.02.145-4.1
ii  libc6                  2.27-3

cryptsetup-run recommends no packages.

Versions of packages cryptsetup-run suggests:
ii  dosfstools              4.1-2
ii  keyutils                1.5.9-9.2
ii  liblocale-gettext-perl  1.07-3+b3

-- debconf information:
  cryptsetup/prerm_active_mappings: true


More information about the pkg-cryptsetup-devel mailing list