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