Bug#970134: libweston-9-dev: missing (unversioned) Breaks+Replaces: libweston-8-dev
Hello,
On Sat, 12 Sep 2020 at 11:21, Andreas Beckmann <anbe@debian.org> wrote:
>
> Package: libweston-9-dev
> Version: 9.0.0-1
> Severity: serious
> User: debian-qa@lists.debian.org
> Usertags: piuparts
>
> Hi,
>
> during a test with piuparts I noticed your package fails to upgrade from
> 'testing'.
> It installed fine in 'testing', 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#overwriting-files-and-replacing-packages-replaces
>
> >From the attached log (scroll to the bottom...):
>
> Preparing to unpack .../libweston-9-dev_9.0.0-1_amd64.deb ...
> Unpacking libweston-9-dev (9.0.0-1) ...
> dpkg: error processing archive /var/cache/apt/archives/libweston-9-dev_9.0.0-1_amd64.deb (--unpack):
> trying to overwrite '/usr/lib/x86_64-linux-gnu/weston/libexec_weston.so', which is also in package libweston-8-dev 8.0.0-1
> Errors were encountered while processing:
> /var/cache/apt/archives/libweston-9-dev_9.0.0-1_amd64.deb
>
> Since libweston-8-dev is gone, the Breaks+Replaces can be unversioned.
Thanks for the report, I have been investigating a bit this issue,
libexec_weston was introduced in weston_8, it was created for the
purpose of the reset of the test suite so it doesn't need to exec()
but just load libexec_weston.so. libexec_weston is not something
anyone else should develop against, it is only needed by weston
binary.
I'll look into dropping
/usr/lib/x86_64-linux-gnu/weston/libexec_weston.so since weston is
linked to /usr/lib/x86_64-linux-gnu/weston/libexec_weston.so.0 which
should be shipped in the weston package.
Regards
--
Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-.
Reply to: