Bug#260721: libapache-mod-jk: depends only on apache and ignores alternatives (apache-perl and apache-ssl)

Axel Beckert Axel Beckert <debian-bugs@deuxchevaux.org>, 260721@bugs.debian.org
Wed Jul 21 14:54:01 2004


Package: libapache-mod-jk
Version: 3.3a-4woody1
Severity: important
Tags: patch

[Hint: I added the version number above manually, because the problem
       is that I can't install that package...]

>From the package's control file:

Depends: libc6 (>= 2.2.4-4), libdb2 (>= 2:2.7.7.0-7), libexpat1 (>= 1.95.2-6), apache-common (<< 1.4), apache (>= 1.3.22-1)

With this line, it is impossible to use libapache-mod-jk with
apache-ssl or apache-perl unless a technically unneccesary apache
package is installed, too, which usually is only the case in a quite
seldom reverse-proxy scenario.

Solution: An expanded Depends line like this:

Depends: libc6 (>= 2.2.4-4), libdb2 (>= 2:2.7.7.0-7), libexpat1 (>= 1.95.2-6), apache-common (<< 1.4), apache (>= 1.3.22-1) | apache-ssl (>= 1.3.26.1+1.48-0) | apache-perl (>= 1.3.26-1-1.26-0)

(Versions probably may be lower, they resprect the current versions in
Woody...)

This is exactly the same bug as reported in #84119, which was wrongly
closed on 30 May 2001 with the following statement:

> We believe that the bug you reported is fixed in the latest version
> of tomcat, which has been installed in the Debian FTP archive:

Well, short said: Tomcat has nothing to do with the Depends line of
_this_ package and the bug is still there and still annoying.

P.S.: Versioned Provides would fix that bug also and many more similar
      bugs more easily... Especially it would make later built
      packages possible which can be installed instead of the apache
      package.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux woody 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=C