[Pkg-monitoring-maintainers] Bug#876088: mon: fails to upgrade from 'stable' to 'sid' - trying to overwrite /usr/lib/mon/mon-local.d/softraid.monitor

Andreas Beckmann anbe at debian.org
Mon Sep 18 10:26:27 UTC 2017


Package: mon
Version: 1.3.2-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
'stable'.
It installed fine in 'stable', 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#s-replaces

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

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

  Preparing to unpack .../archives/mon_1.3.2-1_amd64.deb ...
  invoke-rc.d: could not determine current runlevel
  invoke-rc.d: policy-rc.d denied execution of stop.
  Unpacking mon (1.3.2-1) over (1.2.0-9+nmu4) ...
  dpkg: error processing archive /var/cache/apt/archives/mon_1.3.2-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/mon/mon-local.d/softraid.monitor', which is also in package mon-contrib 1.0+dfsg-3+nmu1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  invoke-rc.d: could not determine current runlevel
  invoke-rc.d: policy-rc.d denied execution of start.
  Errors were encountered while processing:
   /var/cache/apt/archives/mon_1.3.2-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mon-contrib=1.0+dfsg-3+nmu1_mon=1.3.2-1.log.gz
Type: application/gzip
Size: 9372 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-monitoring-maintainers/attachments/20170918/09d31abb/attachment.bin>


More information about the Pkg-monitoring-maintainers mailing list