[Pkg-nagios-devel] Bug#806146: libicinga2: fails to upgrade from 'jessie' - trying to overwrite /usr/lib/x86_64-linux-gnu/icinga2/libremote.so

Andreas Beckmann anbe at debian.org
Tue Nov 24 18:02:16 UTC 2015


Package: libicinga2
Version: 2.4.0-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
'jessie'.
It installed fine in 'jessie', then the upgrade to 'stretch' 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 libicinga2.
  Preparing to unpack .../libicinga2_2.4.0-1_amd64.deb ...
  Unpacking libicinga2 (2.4.0-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libicinga2_2.4.0-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/icinga2/libremote.so', which is also in package icinga2-bin 2.1.1-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Processing triggers for libc-bin (2.19-18+deb8u1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libicinga2_2.4.0-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icinga2-bin=2.1.1-1_libicinga2=2.4.0-1.log.gz
Type: application/gzip
Size: 20857 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20151124/07600d4f/attachment.bin>


More information about the Pkg-nagios-devel mailing list