[Pkg-rust-maintainers] Bug#934850: bat: missing Breaks+Replaces: bareos-bat

Andreas Beckmann anbe at debian.org
Thu Aug 15 21:05:14 BST 2019


Package: bat
Version: 0.11.0-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
'testing'.
It installed fine in 'testing', 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

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

  Preparing to unpack .../bat_0.11.0-1_amd64.deb ...
  Unpacking bat (0.11.0-1) ...
  dpkg: error processing archive /var/cache/apt/archives/bat_0.11.0-1_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/bat', which is also in package bareos-bat 16.2.6-5
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/bat_0.11.0-1_amd64.deb


The bareos-bat package was shipping /usr/bin/bat previously, but that
package has been dropped with the bareos 17.x release.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bareos-bat=16.2.6-5_bat=0.11.0-1.log.gz
Type: application/gzip
Size: 11740 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20190815/9f7589ed/attachment-0001.gz>


More information about the Pkg-rust-maintainers mailing list