Bug#768210: libnekohtml-java-doc: fails to upgrade from 'wheezy' - trying to overwrite /usr/share/doc/libnekohtml-java/doc/usage.html

Andreas Beckmann anbe at debian.org
Thu Nov 6 00:47:25 UTC 2014


Package: libnekohtml-java-doc
Version: 1.9.21-1
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
'wheezy'.
It installed fine in 'wheezy', then the upgrade to 'jessie' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

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

  Selecting previously unselected package libnekohtml-java-doc.
  Unpacking libnekohtml-java-doc (from .../libnekohtml-java-doc_1.9.21-1_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/libnekohtml-java-doc_1.9.21-1_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/libnekohtml-java/doc/usage.html', which is also in package libnekohtml-java 1.9.15-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libnekohtml-java-doc_1.9.21-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libnekohtml-java=1.9.15-1_libnekohtml-java-doc=1.9.21-1.log.gz
Type: application/gzip
Size: 5964 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20141106/1b56b39c/attachment-0001.bin>


More information about the pkg-java-maintainers mailing list