[Debian-ha-maintainers] Bug#985173: pacemaker-resource-agents: missing Breaks+Replaces: pacemaker (<< 2)

Andreas Beckmann anbe at debian.org
Sat Mar 13 23:32:19 GMT 2021


Package: pacemaker-resource-agents
Version: 2.0.1-5+deb10u1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + pacemaker pacemaker-cli-utils

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stretch'.
It installed fine in 'stretch', then the upgrade to 'buster' 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 .../03-pacemaker-resource-agents_2.0.1-5+deb10u1_all.deb ...
  Unpacking pacemaker-resource-agents (2.0.1-5+deb10u1) over (1.1.24-0+deb9u1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-FVOsXO/03-pacemaker-resource-agents_2.0.1-5+deb10u1_all.deb (--unpack):
   trying to overwrite '/usr/lib/ocf/resource.d/pacemaker/ifspeed', which is also in package pacemaker 1.1.24-0+deb9u1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

There are currently Breaks+Replaces: pacemaker (<< 1.1.14-2~), but these
seem to have been invalidated by a new upstream release being uploaded
as a stretch security update. Please bump them to (<< 2) to catch future
oldstable updates.

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pacemaker_2.0.1-5+deb10u1.log.gz
Type: application/gzip
Size: 42268 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-ha-maintainers/attachments/20210314/1b0a2083/attachment-0001.gz>


More information about the Debian-ha-maintainers mailing list