[Pkg-mongodb-maintainers] Bug#847095: libmongoclient-dev: Should not conflict with transitional mongodb-dev

Raphaël Hertzog hertzog at debian.org
Mon Dec 5 15:01:37 UTC 2016

Package: libmongoclient-dev
Version: 1.1.2-4
Severity: serious
Tags: patch
Justification: piuparts failure

The package does not migrate to testing due to a piuparts failure:

0m19.6s ERROR: Command failed (status=100): ['chroot', '/srv/piuparts.debian.org/tmp/tmpRj5FHY', 'apt-get', '-y', 'install', 'mongodb-dev=2:1.1.2-4']
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  The following packages have unmet dependencies:
   mongodb-dev : Depends: libmongoclient-dev but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.

The problem is that the new transitional mongodb-dev depends on
libmongoclient-dev which conflicts with mongodb-dev (this would have
been caught by trying to install the uploaded packages).

Please make the conflict versioned or drop it entirely:
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,7 @@ Section: libdevel
 Architecture: any
 Multi-Arch: same
 Depends: libmongoclient0 (= ${binary:Version}), ${misc:Depends}
-Conflicts: mongodb-dev
+Conflicts: mongodb-dev (<< 2:1.1.2-1~)
 Description: MongoDB C++ Driver (development)
  This package provides C++ development file to interact with MongoDB.
  This is the legacy C++ driver and currently supports MongoDB 2.4, 2.6,

Please upload a fixed package soon and increase priority to high to speed up
testing migration since we already waited multiple rounds for testing migration.

If you can't upload a fixed package soon, let me know and I can upload an

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

More information about the Pkg-mongodb-maintainers mailing list