Bug#901099: libatlas-doc: fails to upgrade from 'stretch' - trying to overwrite /usr/share/doc/libatlas-base-dev/README

Andreas Beckmann anbe at debian.org
Fri Jun 8 23:52:06 BST 2018


Package: libatlas-doc
Version: 3.10.3-6
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
'stretch'.
It installed fine in 'stretch', then the upgrade to 'buster' 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 libatlas-doc.
  Preparing to unpack .../libatlas-doc_3.10.3-6_all.deb ...
  Unpacking libatlas-doc (3.10.3-6) ...
  dpkg: error processing archive /var/cache/apt/archives/libatlas-doc_3.10.3-6_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/libatlas-base-dev/README', which is also in package libatlas-base-dev 3.10.3-1+b1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libatlas-doc_3.10.3-6_all.deb


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: libatlas-base-dev=3.10.3-1+b1_libatlas-doc=3.10.3-6.log.gz
Type: application/gzip
Size: 11611 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180609/7956cc96/attachment-0001.gz>


More information about the debian-science-maintainers mailing list