Bug#898380: libreadline-java-doc: fails to upgrade from 'stretch' - trying to overwrite /usr/share/doc/libreadline-java/NEWS.gz

Andreas Beckmann anbe at debian.org
Thu May 10 23:24:01 BST 2018


Package: libreadline-java-doc
Version: 0.8.0.1+dfsg-7
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 libreadline-java-doc.
  Preparing to unpack .../libreadline-java-doc_0.8.0.1+dfsg-7_all.deb ...
  Unpacking libreadline-java-doc (0.8.0.1+dfsg-7) ...
  dpkg: error processing archive /var/cache/apt/archives/libreadline-java-doc_0.8.0.1+dfsg-7_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/libreadline-java/NEWS.gz', which is also in package libreadline-java 0.8.0.1+dfsg-5
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libreadline-java-doc_0.8.0.1+dfsg-7_all.deb

This is probably fallout from changed dh_installdocs behaviour in
debhelper compat level 11.

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libreadline-java=0.8.0.1+dfsg-5_libreadline-java-doc=0.8.0.1+dfsg-7.log.gz
Type: application/gzip
Size: 8562 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20180511/c3bcd062/attachment-0001.gz>


More information about the pkg-java-maintainers mailing list