Bug#1027700: libcommons-vfs-java: missing Breaks+Replaces: libcommons-vfs-java-doc (<< 2.1-3)
Andreas Beckmann
anbe at debian.org
Mon Jan 2 08:59:15 GMT 2023
Package: libcommons-vfs-java
Version: 2.1-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/ch-relationships.html#overwriting-files-and-replacing-packages-replaces
>From the attached log (scroll to the bottom...):
Preparing to unpack .../libcommons-vfs-java_2.1-3_all.deb ...
Unpacking libcommons-vfs-java (2.1-3) ...
dpkg: error processing archive /var/cache/apt/archives/libcommons-vfs-java_2.1-3_all.deb (--unpack):
trying to overwrite '/usr/share/doc/libcommons-vfs-java/examples/pom.xml', which is also in package libcommons-vfs-java-doc 2.1-2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libcommons-vfs-java_2.1-3_all.deb
libcommons-vfs-java-doc has been merged into libcommons-vfs-java in 2.1-3
but no B+R were added.
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcommons-vfs-java-doc=2.1-2_libcommons-vfs-java=2.1-3.log.gz
Type: application/gzip
Size: 7933 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20230102/3b9c0ec2/attachment.gz>
More information about the pkg-java-maintainers
mailing list