Package: libmrpt-tfest-dev,libmrpt-bayes-dev
Version: 1:2.0.2-1
Severity: serious
User: [email protected]
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stable'.
It installed fine in 'stable', then the upgrade to 'sid' 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#overwriting-files-and-replacing-packages-replaces

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

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

...
  Selecting previously unselected package libmrpt-bayes-dev.
  Preparing to unpack .../23-libmrpt-bayes-dev_1%3a2.0.2-1_amd64.deb ...
  Unpacking libmrpt-bayes-dev (1:2.0.2-1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-lpS9iV/23-libmrpt-bayes-dev_1%3a2.0.2-1_amd64.deb 
(--unpack):
   trying to overwrite 
'/usr/include/mrpt/bayes/include/mrpt/bayes/CKalmanFilterCapable.h', which is 
also in package libmrpt-dev 1:1.5.6-1+b1
...
  Selecting previously unselected package libmrpt-tfest-dev.
  Preparing to unpack .../27-libmrpt-tfest-dev_1%3a2.0.2-1_amd64.deb ...
  Unpacking libmrpt-tfest-dev (1:2.0.2-1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-lpS9iV/27-libmrpt-tfest-dev_1%3a2.0.2-1_amd64.deb 
(--unpack):
   trying to overwrite 
'/usr/include/mrpt/tfest/include/mrpt/tfest/indiv-compat-decls.h', which is 
also in package libmrpt-dev 1:1.5.6-1+b1
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-lpS9iV/23-libmrpt-bayes-dev_1%3a2.0.2-1_amd64.deb
   /tmp/apt-dpkg-install-lpS9iV/27-libmrpt-tfest-dev_1%3a2.0.2-1_amd64.deb


cheers,

Andreas

Attachment: libmrpt-dev=1:1.5.6-1+b1_libmrpt-tfest-dev=1:2.0.2-1.log.gz
Description: application/gzip

Reply via email to