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

Reply via email to