Package: libcap-dev Version: 1:2.63-1 Severity: serious Jutsification: fails to install with an unpack errror User: [email protected] Usertags: rebootstrap
Coinstalling libcap-dev fails: | Unpacking libcap-dev:amd64 (1:2.63-1) ... | dpkg: error processing archive /var/cache/apt/archives/libcap-dev_1%3a2.63-1_amd64.deb (--unpack): | trying to overwrite shared '/usr/lib/libcap2/tests/cap_test', which is different from other instances of package libcap-dev:amd64 | dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) | Errors were encountered while processing: | /var/cache/apt/archives/libcap-dev_1%3a2.63-1_amd64.deb | E: Sub-process /usr/bin/dpkg returned an error code (1) I suppose that the test binaries were recently added to the -dev package. There are basically three ways of dealing with this: a) Drop Multi-Arch: same. This is a little inconvenient for some users, but is really something we can do. Most cross builds will continue working in the absence of Multi-Arch: same. b) Move those test binaries to architecture-dependent paths. c) Move those test binaries to a different package. An obvious candidate would be a new package libcap-tests. Prior art: dbus-tests. If you do, it would be awesome to support the noinsttest build profile. We can also do option a) as a stop-gap measure and move to a different solution later. Helmut

