Bug#901041: libviennacl-doc: fails to upgrade from 'testing' - trying to overwrite /usr/share/doc/libviennacl-dev/README.gz

Andreas Beckmann anbe at debian.org
Fri Jun 8 12:13:33 BST 2018


Package: libviennacl-doc
Version: 1.7.1+dfsg1-3
Severity: serious
User: debian-qa at 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/#overwriting-files-and-replacing-packages-replaces

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package libviennacl-doc.
  Preparing to unpack .../libviennacl-doc_1.7.1+dfsg1-3_all.deb ...
  Unpacking libviennacl-doc (1.7.1+dfsg1-3) ...
  dpkg: error processing archive /var/cache/apt/archives/libviennacl-doc_1.7.1+dfsg1-3_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/libviennacl-dev/README.gz', which is also in package libviennacl-dev 1.7.1+dfsg1-2

This is most likely caused by a behavioral change in dh_installdocs
in debhelper compat level 11.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libviennacl-dev=1.7.1+dfsg1-2_libviennacl-doc=1.7.1+dfsg1-3.log.gz
Type: application/gzip
Size: 10880 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180608/78c7938a/attachment.gz>


More information about the debian-science-maintainers mailing list