Bug#798658: libcommons-net-java-doc: fails to upgrade from 'sid' - trying to overwrite /usr/share/doc-base/libcommons-net-java

Andreas Beckmann anbe at debian.org
Fri Sep 11 14:39:14 UTC 2015


Package: libcommons-net-java-doc
Version: 3.3-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
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' 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 libcommons-net-java-doc.
  Preparing to unpack .../libcommons-net-java-doc_3.3-1_all.deb ...
  Unpacking libcommons-net-java-doc (3.3-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libcommons-net-java-doc_3.3-1_all.deb (--unpack):
   trying to overwrite '/usr/share/doc-base/libcommons-net-java', which is also in package libcommons-net1-java 1.4.1-5
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libcommons-net-java-doc_3.3-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcommons-net1-java=1.4.1-5_libcommons-net-java-doc=3.3-1.log.gz
Type: application/gzip
Size: 16849 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150911/28657977/attachment-0001.bin>


More information about the pkg-java-maintainers mailing list