[Debian-ha-maintainers] Bug#925354: Bug#925354: pacemaker-dev: missing Breaks+Replaces: libcrmcluster1-dev

Valentin Vidic Valentin.Vidic at CARNet.hr
Mon Mar 25 13:09:05 GMT 2019


On Sat, Mar 23, 2019 at 05:19:59PM +0100, Andreas Beckmann wrote:
> during a test with piuparts I noticed your package fails to upgrade from
> 'wheezy' to 'jessie' to 'stretch' to 'buster'.
> It installed fine in 'wheezy', and upgraded to 'jessie' and 'stretch'
> successfully,
> but then the upgrade to 'buster' failed.
> 
> In case the package was not part of an intermediate stable release,
> the version from the preceding stable release was kept installed.
> 
> From the attached log (scroll to the bottom...):
> 
>   Selecting previously unselected package pacemaker-dev:amd64.
>   Preparing to unpack .../10-pacemaker-dev_2.0.1-1_amd64.deb ...
>   Unpacking pacemaker-dev:amd64 (2.0.1-1) ...
>   dpkg: error processing archive /tmp/apt-dpkg-install-UW7jMV/10-pacemaker-dev_2.0.1-1_amd64.deb (--unpack):
>    trying to overwrite '/usr/include/pacemaker/crm/attrd.h', which is also in package libcrmcluster1-dev 1.1.7-1
>   dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
>   Errors were encountered while processing:
>    /tmp/apt-dpkg-install-UW7jMV/10-pacemaker-dev_2.0.1-1_amd64.deb

Yep, all -dev packages were merged at one point into pacemaker-dev.
Breaks+Replaces on old packages should do the trick here.

-- 
Valentin



More information about the Debian-ha-maintainers mailing list