Bug#863721: python-ncclient-doc: fails to upgrade from 'testing' - trying to overwrite /usr/share/doc/python-ncclient/html/_sources/api.txt
Followup-For: Bug #863721 Control: found -1 0.5.3-3 You want Breaks+Replaces: python-ncclient (<< 0.5.3) Andreas
Bug#863721: python-ncclient-doc: fails to upgrade from 'testing' - trying to overwrite /usr/share/doc/python-ncclient/html/_sources/api.txt
On Tuedd, May 30, 2017 at 02:43:10PM (+0200), Andreas Beckmann wrote: > It installed fine in 'testing', then the upgrade to 'sid' fails > because it tries to overwrite other packages files without declaring a > Breaks+Replaces relation. tags 863721 + pending thanks Hi, Thanks Andreas! I should not be awake when uploading the 0.5.3-2 version… ❯ apt show python-ncclient-doc Package: python-ncclient-doc Version: 0.5.3-2 […] Breaks: foo (<< 0.4.7-1) Replaces: foo (<< 0.4.7-1) Just corrected in the 0.5.3-3 version… Thanks again! Seb signature.asc Description: PGP signature
Bug#863721: python-ncclient-doc: fails to upgrade from 'testing' - trying to overwrite /usr/share/doc/python-ncclient/html/_sources/api.txt
Package: python-ncclient-doc Version: 0.5.3-2 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package fails to upgrade from 'testing'. It installed fine in 'testing', then the upgrade to 'sid' fails 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/ch-relationships.html#s-replaces >From the attached log (scroll to the bottom...): Selecting previously unselected package python-ncclient-doc. Preparing to unpack .../python-ncclient-doc_0.5.3-2_all.deb ... Unpacking python-ncclient-doc (0.5.3-2) ... dpkg: error processing archive /var/cache/apt/archives/python-ncclient-doc_0.5.3-2_all.deb (--unpack): trying to overwrite '/usr/share/doc/python-ncclient/html/_sources/api.txt', which is also in package python-ncclient 0.4.1-1 Errors were encountered while processing: /var/cache/apt/archives/python-ncclient-doc_0.5.3-2_all.deb cheers, Andreas python-ncclient=0.4.7-1_python-ncclient-doc=0.5.3-2.log.gz Description: application/gzip