On 2021-05-18 22:14:32 +0200, Andreas Beckmann wrote:
> Package: libsidplayfp6
> Version: 2.1.2-1
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package fails to upgrade from
> 'sid' to 'experimental'.
> It installed fine in 'sid', then the upgrade to 'experimental' 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
> 
> Since libsidplayfp5 is supposed to go away, the B+R can be unversioned.
> 
> >From the attached log (scroll to the bottom...):
> 
>   Preparing to unpack .../libsidplayfp6_2.1.2-1_amd64.deb ...
>   Unpacking libsidplayfp6:amd64 (2.1.2-1) ...
>   dpkg: error processing archive 
> /var/cache/apt/archives/libsidplayfp6_2.1.2-1_amd64.deb (--unpack):
>    trying to overwrite '/usr/lib/x86_64-linux-gnu/libstilview.so.0.0.4', 
> which is also in package libsidplayfp5:amd64 2.0.5-2
>   Errors were encountered while processing:
>    /var/cache/apt/archives/libsidplayfp6_2.1.2-1_amd64.deb
> 
> 
> That's the price you pay for shipping multiple shared libraries
> with unsynchronized SOVERSION in the same package.

Please use this opportunity and split those libraries into separate
packages. The Breaks+Replaces will be needed as well, but for the next
transition the situation will be easier.

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to