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