[Pkg-fedora-ds-maintainers] Bug#679742: Depends on non-existing libdb4.8

Ondřej Surý ondrej at debian.org
Sun Jul 1 09:25:55 UTC 2012

Package: 389-ds-base-dev
Version: 389-ds-base-dev/
Severity: serious

The hard-coded dependency on lidb4.8 is wrong, since there is no
lidb4.8 package in the archive, and now your package depends on
lidb4.8 and libdb5.1.

That probably applies to all other lib<something> hard coded
dependencies in your package.  Also your -dev package probably misses
the -dev dependencies (in case they are needed - that depends on the
symbols exported from the library and headers used - you should test
that before blindly adding all -dev packages to Depends: field).

You should not hard-code such dependencies (unless you need a specific
version), but let the dpkg-shlibs handle it (that's the
${shlibs:Depends} field).

Snippet from debian/control file:

Package: 389-ds-base-libs
Section: libs
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends},

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

More information about the Pkg-fedora-ds-maintainers mailing list