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

Andreas Beckmann debian at abeckmann.de
Sun Feb 5 14:19:56 UTC 2012


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.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netcdf-bin_1:4.1.3-1~exp1.log.gz
Type: application/x-gzip
Size: 6629 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20120205/0a8aaf7d/attachment.bin>


More information about the Pkg-grass-devel mailing list