[Pkg-phototools-devel] Bug#780240: Bug#780240: libgphoto2-port10: Wrong transition package for ABI changing library

Herbert Parentes Fortes Neto (hpfn) hpfn at ig.com.br
Wed Mar 11 21:20:45 UTC 2015


Hi Andreas,


On Wed, 11 Mar 2015 22:01:34 +0100
Andreas Beckmann <anbe at debian.org> wrote:

> Followup-For: Bug #780240
> 
> 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.

Exists the declaration on debian/control:

Package: libgphoto2-port12
Architecture: any
Multi-Arch: same
Breaks: libgphoto2-port10 (<= 2.5.4-1.1)
Replaces: libgphoto2-port10 (<= 2.5.4-1.1)
Pre-Depends: ${misc:Pre-Depends}
Depends:
 ${shlibs:Depends}
 , ${misc:Depends}
Suggests: gphoto2 (>= 2.5.6)



> 
> See policy 7.6 at
> https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
> 
> >From the attached log (scroll to the bottom...):
> 
>   Selecting previously unselected package libgphoto2-port12:amd64.
>   Preparing to unpack .../libgphoto2-port12_2.5.7-1_amd64.deb ...
>   Unpacking libgphoto2-port12:amd64 (2.5.7-1) ...
>   dpkg: error processing archive /var/cache/apt/archives/libgphoto2-port12_2.5.7-1_amd64.deb (--unpack):
>    trying to overwrite '/usr/lib/x86_64-linux-gnu/libgphoto2_port.so.10', which is also in package libgphoto2-port10:amd64 2.5.4-1.1+b2
>   Preparing to unpack .../libgphoto2-6_2.5.7-1_amd64.deb ...
>   Unpacking libgphoto2-6:amd64 (2.5.7-1) over (2.5.4-1.1+b2) ...
>   Processing triggers for udev (215-12) ...
>   Errors were encountered while processing:
>    /var/cache/apt/archives/libgphoto2-port12_2.5.7-1_amd64.deb
> 
> 
> There must not be a libgphoto2_port.so.10 symlink in the libgphoto2-port12 
> package.

Why ? It was important when I did the tests.



regards,
-- 
Herbert Parentes Fortes Neto (hpfn)



More information about the Pkg-phototools-devel mailing list