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

Boyuan Yang byang at debian.org
Thu Mar 11 03:14:37 GMT 2021


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

在 2021-03-08星期一的 10:10 -0500,Boyuan Yang写道:
> 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?

That being said, I will make a team upload with minimal changes first
and request an unblock. Probably the placement of /usr/bin/rheolef-
config can be settled in a separate bug report.

Thanks,
Boyuan Yang



More information about the debian-science-maintainers mailing list