Andreas Beckmann wrote on 24/08/2019: > Package: bat > Version: 0.11.0-2 > Severity: serious > User: debian...@lists.debian.org > Usertags: piuparts > > Hi, > > during a test with piuparts I noticed your package failed to install > because it tries to overwrite other packages files. > > Since /usr/sbin/bat is already provided by another package, you can't > ship a different binary as /usr/bin/bat. > I noticed this by the clash on the manpage. > > From the attached log (scroll to the bottom...): > > Selecting previously unselected package bat. > Preparing to unpack .../11-bat_0.11.0-2_amd64.deb ... > Unpacking bat (0.11.0-2) ... > dpkg: error processing archive > /tmp/apt-dpkg-install-xqEwrF/11-bat_0.11.0-2_amd64.deb (--unpack): > trying to overwrite '/usr/share/man/man1/bat.1.gz', which is also in > package bacula-console-qt 9.4.4-2+b1 > Errors were encountered while processing: > /tmp/apt-dpkg-install-xqEwrF/11-bat_0.11.0-2_amd64.deb
:( Thanks Andreas for the heads-up, I missed this name clash. I knew tat the 'bat' binary name and manpage were taken by the bareos-bat package up to Buster. That package has now been dropped, and I happily packaged 'bat' without renames, as I didn't know that bacula-console-qt was installing those files too; bareos-bat had a Conflits/Replaces on bacula-console-qt, so there was no name clash in that case. I guess I'll have to rename some files here. This isn't obvious at the moment as the build dependencies for rust-bat are not satisfied in unstable. Paride