[Pkg-middleware-maintainers] Bug#896507: qpid-proton: missing Breaks+Replaces and ships badly placed doc symlinks
Andreas Beckmann
anbe at debian.org
Sat Apr 21 21:22:06 BST 2018
Source: qpid-proton
Version: 0.22.0-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package failed to install
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.
See policy 7.6 at
https://www.debian.org/doc/debian-policy/#overwriting-files-and-replacing-packages-replaces
>From the attached log (scroll to the bottom...):
Selecting previously unselected package libqpid-proton11-dev.
Preparing to unpack .../libqpid-proton11-dev_0.22.0-1_amd64.deb ...
Unpacking libqpid-proton11-dev (0.22.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/libqpid-proton11-dev_0.22.0-1_amd64.deb (--unpack):
trying to overwrite '/usr/include/proton/cid.h', which is also in package libqpid-proton8-dev 0.14.0-5.1
Selecting previously unselected package libqpid-proton-cpp12-dev.
Preparing to unpack .../libqpid-proton-cpp12-dev_0.22.0-1_amd64.deb ...
Unpacking libqpid-proton-cpp12-dev (0.22.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/libqpid-proton-cpp12-dev_0.22.0-1_amd64.deb (--unpack):
trying to overwrite '/usr/include/proton/annotation_key.hpp', which is also in package libqpid-proton-cpp8-dev 0.14.0-5.1
Errors were encountered while processing:
/var/cache/apt/archives/libqpid-proton11-dev_0.22.0-1_amd64.deb
/var/cache/apt/archives/libqpid-proton-cpp12-dev_0.22.0-1_amd64.deb
Missing Breaks+Replaces: libqpid-proton-cpp8-dev, libqpid-proton8-dev
Selecting previously unselected package libqpid-proton11-dev-doc.
Preparing to unpack .../libqpid-proton11-dev-doc_0.22.0-1_all.deb ...
Unpacking libqpid-proton11-dev-doc (0.22.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/libqpid-proton11-dev-doc_0.22.0-1_all.deb (--unpack):
trying to overwrite '/usr/share/proton-0.14.0/docs/api-c/jquery.js', which is also in package libqpid-proton8-dev-doc 0.14.0-5.1
Errors were encountered while processing:
/var/cache/apt/archives/libqpid-proton11-dev-doc_0.22.0-1_all.deb
Selecting previously unselected package libqpid-proton-cpp12-dev-doc.
Preparing to unpack .../libqpid-proton-cpp12-dev-doc_0.22.0-1_all.deb ...
Unpacking libqpid-proton-cpp12-dev-doc (0.22.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/libqpid-proton-cpp12-dev-doc_0.22.0-1_all.deb (--unpack):
trying to overwrite '/usr/share/proton-0.14.0/docs/api-cpp/jquery.js', which is also in package libqpid-proton-cpp8-dev-doc 0.14.0-5.1
Errors were encountered while processing:
/var/cache/apt/archives/libqpid-proton-cpp12-dev-doc_0.22.0-1_all.deb
These symlinks should rather be under /usr/share/proton-0.22.0/...
cheers,
Andreas
More information about the Pkg-middleware-maintainers
mailing list