Bug#984529: rheolef: missing Breaks+Replaces: librheolef-dev (<< 7.1)

Boyuan Yang byang at debian.org
Mon Mar 8 15:10:36 GMT 2021


X-Debbugs-CC: pierre.saramito at imag.fr debian-science at lists.debian.org

On Thu, 04 Mar 2021 18:31:28 +0100 Andreas Beckmann <anbe at debian.org>
wrote:
> Package: rheolef
> Version: 7.1-3
> 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
> 'buster'.
> It installed fine in 'buster', then the upgrade to 'bullseye' 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 .../51-rheolef_7.1-3_amd64.deb ...
>   Unpacking rheolef (7.1-3) over (7.0-2+b1) ...
>   dpkg: error processing archive /tmp/apt-dpkg-install-qDgNC1/51-
rheolef_7.1-3_amd64.deb (--unpack):
>    trying to overwrite '/usr/bin/rheolef-config', which is also in
package librheolef-dev 7.0-2+b1
>   Preparing to unpack .../52-librheolef-dev_7.1-3_amd64.deb ...
>   Unpacking librheolef-dev (7.1-3) over (7.0-2+b1) ...

I believe the problem is more than just that. Actually
/usr/bin/rheolef-config is intended for library build config. As a
result, it is supposed to be installed in librheolef-dev instead of
package rheolef.

The move of /usr/bin/rheolef-config took place in 7.1-1. Pierre, can
you confirm this change?

-- 
Thanks,
Boyuan Yang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20210308/05417c57/attachment.sig>


More information about the debian-science-maintainers mailing list