[Pkg-rust-maintainers] Bug#1034948: librust-digest-0.9-dev: missing Breaks+Replaces for librust-digest-dev when upgrading from bullseye
Helmut Grohne
helmut at subdivi.de
Thu Apr 27 14:00:06 BST 2023
Package: librust-digest-0.9-dev
Version: 0.9.0-2
Severity: serious
Justification: dpkg unpack error
Attempting to unpack librust-digest-0.9-dev/0.9.0-2 from Debian bookworm
on a minimal Debian bullseye with librust-digest-dev/0.9.0-1
installed, causes an unpack error from dpkg due to
/usr/share/cargo/registry/digest-0.9.0/.cargo-checksum.json being contained in both packages.
| Selecting previously unselected package librust-digest-0.9-dev:amd64.
| dpkg: considering deconfiguration of librust-digest-dev:amd64, which would be broken by installation of librust-digest-0.9-dev:amd64 ...
| dpkg: yes, will deconfigure librust-digest-dev:amd64 (broken by librust-digest-0.9-dev:amd64)
| (Reading database ... 4778 files and directories currently installed.)
| Preparing to unpack .../librust-digest-0.9-dev_0.9.0-2_amd64.deb ...
| De-configuring librust-digest-dev:amd64 (0.9.0-1) ...
| Unpacking librust-digest-0.9-dev:amd64 (0.9.0-2) ...
| dpkg: error processing archive ./librust-digest-0.9-dev_0.9.0-2_amd64.deb (--unpack):
| trying to overwrite '/usr/share/cargo/registry/digest-0.9.0/.cargo-checksum.json', which is also in package librust-digest-dev:amd64 0.9.0-1
| Errors were encountered while processing:
| ./librust-digest-0.9-dev_0.9.0-2_amd64.deb
Please ensure that librust-digest-0.9-dev has sufficient Breaks and Replaces declarations.
Helmut
More information about the Pkg-rust-maintainers
mailing list