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