Bug#798357: libnetcdf-cxx-legacy-dev: fails to upgrade from 'jessie' - trying to overwrite /usr/share/info/netcdf-cxx.info.gz

Andreas Beckmann anbe at debian.org
Tue Sep 8 12:24:16 UTC 2015


Package: libnetcdf-cxx-legacy-dev
Version: 4.2-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'jessie'.
It installed fine in 'jessie', then the upgrade to 'stretch' 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#s-replaces

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package libnetcdf-cxx-legacy-dev.
  Preparing to unpack .../libnetcdf-cxx-legacy-dev_4.2-1_amd64.deb ...
  Unpacking libnetcdf-cxx-legacy-dev (4.2-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libnetcdf-cxx-legacy-dev_4.2-1_amd64.deb (--unpack):
   trying to overwrite '/usr/share/info/netcdf-cxx.info.gz', which is also in package netcdf-doc 1:4.1.3-7.2
  Errors were encountered while processing:
   /var/cache/apt/archives/libnetcdf-cxx-legacy-dev_4.2-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netcdf-doc=1%4.1.3-7.2_libnetcdf-cxx-legacy-dev=4.2-1.log.gz
Type: application/gzip
Size: 19356 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20150908/356cf9ba/attachment-0001.bin>


More information about the Pkg-grass-devel mailing list