Bug#656103: libnetcdf7: fails to upgrade from 'sid' - trying to overwrite ...

Francesco P. Lovergine frankie at debian.org
Mon Feb 6 14:11:50 UTC 2012


On Sun, Feb 05, 2012 at 03:19:56PM +0100, Andreas Beckmann wrote:
> Followup-For: Bug #656103
> 
> 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
> replaces relation.
> 
> See policy 7.6 at
> http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
> 
> >From the attached log (scroll to the bottom...):
> 
>   Selecting previously unselected package libnetcdf7.
>   (Reading database ... 6801 files and directories currently installed.)
>   Unpacking libnetcdf7 (from .../libnetcdf7_1%3a4.1.3-1~exp1_amd64.deb) ...
>   dpkg: error processing /var/cache/apt/archives/libnetcdf7_1%3a4.1.3-1~exp1_amd64.deb (--unpack):
>    trying to overwrite '/usr/lib/libnetcdff.so.5', which is also in package libnetcdf6 1:4.1.1-6+b1
> 
> Library packages should not ship multiple shared libraries, especially
> if they have different sonames. So you should move libnetcdff.so.* into
> its own libnetcdff5 package.

Yep, it is well known. It still needs major revision before a definite release
in unstable.

-- 
Francesco P. Lovergine





More information about the Pkg-grass-devel mailing list