[Pkg-mongodb-maintainers] Bug#836861: mongo-tools: many /usr/bin/mongo* binaries are already shipped by mongodb-clients

Andreas Beckmann anbe at debian.org
Tue Sep 6 15:40:55 UTC 2016


Package: mongo-tools
Version: 3.2.9-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
'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 mongo-tools.
  Preparing to unpack .../3-mongo-tools_3.2.9-1_amd64.deb ...
  Unpacking mongo-tools (3.2.9-1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-kuF4JE/3-mongo-tools_3.2.9-1_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/bsondump', which is also in package mongodb-clients 1:2.6.12-3
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-kuF4JE/3-mongo-tools_3.2.9-1_amd64.deb


Full list of files shipped by both packages:

usr/bin/bsondump
usr/bin/mongodump
usr/bin/mongoexport
usr/bin/mongofiles
usr/bin/mongoimport
usr/bin/mongooplog
usr/bin/mongorestore
usr/bin/mongostat
usr/bin/mongotop
usr/share/man/man1/bsondump.1.gz
usr/share/man/man1/mongodump.1.gz
usr/share/man/man1/mongoexport.1.gz
usr/share/man/man1/mongofiles.1.gz
usr/share/man/man1/mongoimport.1.gz
usr/share/man/man1/mongooplog.1.gz
usr/share/man/man1/mongorestore.1.gz
usr/share/man/man1/mongostat.1.gz
usr/share/man/man1/mongotop.1.gz


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mongodb-clients=1%2.6.12-3_mongo-tools=3.2.9-1.log.gz
Type: application/gzip
Size: 10199 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mongodb-maintainers/attachments/20160906/9327ba61/attachment.bin>


More information about the Pkg-mongodb-maintainers mailing list