Package: libnetcdf-cxx-legacy-dev
Version: 4.2-1~exp1
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#s-replaces

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

  Selecting previously unselected package libnetcdf-c++4.
  Preparing to unpack .../libnetcdf-c++4_4.2-1~exp1_amd64.deb ...
  Unpacking libnetcdf-c++4 (4.2-1~exp1) ...
  Selecting previously unselected package libnetcdf-cxx-legacy-dev.
  Preparing to unpack .../libnetcdf-cxx-legacy-dev_4.2-1~exp1_amd64.deb ...
  Unpacking libnetcdf-cxx-legacy-dev (4.2-1~exp1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/libnetcdf-cxx-legacy-dev_4.2-1~exp1_amd64.deb 
(--unpack):
   trying to overwrite '/usr/include/ncvalues.h', which is also in package 
libnetcdf-dev 1:4.1.3-7.2
  Errors were encountered while processing:
   /var/cache/apt/archives/libnetcdf-cxx-legacy-dev_4.2-1~exp1_amd64.deb

cheers,

Andreas

Attachment: libnetcdf-dev=1%4.1.3-7.2_libnetcdf-cxx-legacy-dev=4.2-1~exp1.log.gz
Description: application/gzip

Reply via email to