[Pkg-rust-maintainers] Bug#1034999: librust-sha3-0.9-dev: missing Breaks+Replaces for librust-sha3-dev when upgrading from bullseye

Helmut Grohne helmut at subdivi.de
Thu Apr 27 13:59:33 BST 2023


Package: librust-sha3-0.9-dev
Version: 0.9.1-1+b1
Severity: serious
Justification: dpkg unpack error

Attempting to unpack librust-sha3-0.9-dev/0.9.1-1+b1 from Debian bookworm
on a minimal Debian bullseye with librust-sha3-dev/0.9.1-1
installed, causes an unpack error from dpkg due to
/usr/share/cargo/registry/sha3-0.9.1/.cargo-checksum.json being contained in both packages.

| Selecting previously unselected package librust-sha3-0.9-dev:amd64.
| dpkg: considering deconfiguration of librust-sha3-dev:amd64, which would be broken by installation of librust-sha3-0.9-dev:amd64 ...
| dpkg: yes, will deconfigure librust-sha3-dev:amd64 (broken by librust-sha3-0.9-dev:amd64)
| (Reading database ... 4873 files and directories currently installed.)
| Preparing to unpack .../librust-sha3-0.9-dev_0.9.1-1+b1_amd64.deb ...
| De-configuring librust-sha3-dev:amd64 (0.9.1-1) ...
| Unpacking librust-sha3-0.9-dev:amd64 (0.9.1-1+b1) ...
| dpkg: error processing archive ./librust-sha3-0.9-dev_0.9.1-1+b1_amd64.deb (--unpack):
|  trying to overwrite '/usr/share/cargo/registry/sha3-0.9.1/.cargo-checksum.json', which is also in package librust-sha3-dev:amd64 0.9.1-1
| dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
| Errors were encountered while processing:
|  ./librust-sha3-0.9-dev_0.9.1-1+b1_amd64.deb


Please ensure that librust-sha3-0.9-dev has sufficient Breaks and Replaces declarations.

Helmut



More information about the Pkg-rust-maintainers mailing list