[Pkg-net-snmp-devel] Bug#969436: libsnmp-dev: missing Breaks+Replaces: libsnmp-perl (<< 5.9)

Andreas Beckmann anbe at debian.org
Wed Sep 2 21:31:21 BST 2020


Package: libsnmp-dev
Version: 5.9+dfsg-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
'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 .../libsnmp-dev_5.9+dfsg-1_amd64.deb ...
  Unpacking libsnmp-dev (5.9+dfsg-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libsnmp-dev_5.9+dfsg-1_amd64.deb (--unpack):
   trying to overwrite '/usr/share/man/man3/SNMP.3pm.gz', which is also in package libsnmp-perl 5.8+dfsg-5
  Errors were encountered while processing:
   /var/cache/apt/archives/libsnmp-dev_5.9+dfsg-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsnmp-perl=5.8+dfsg-5_libsnmp-dev=5.9+dfsg-1.log.gz
Type: application/gzip
Size: 12539 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-net-snmp-devel/attachments/20200902/04bb5124/attachment.gz>


More information about the Pkg-net-snmp-devel mailing list