[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#410645: apache2-mpm-prefork: depends on libpq4, should be libpq4 OR libpq5



Package: apache2-mpm-prefork
Version: 2.2.3-3.2
Severity: normal


If you look at its dependencies, you'll see this:
Depends: [...], libldap2 (>= 2.1.17-1), libpcre3 (>= 4.5), libpq4 (>=
8.1.4), [...]

Same goes for apache2-utils (version 2.2.3-3.2):
Depends: [...], libpq4 (>= 8.1.4), [...]

But libpq4, per the description, is "compatible with servers from
PostgreSQL 7.3 to 8.1."
Those of us running postgresql-8.2 should be using libpq5:
"This version of libpq is compatible with servers from PostgreSQL 8.2 or later."

So I've installed libpq5, but I still have to have libpq4 installed, even though
I don't use it. Shouldn't the "Depends:" line contain "libpq4 (>= x) |
libpq5 (>= y)"?

Also, I'm wondering if this requirement is necessary at all. A lot of people
probably aren't using PostgreSQL, while others aren't using ldap and therefor I
guess won't need libldap2, which is required by apache2-mpm-prefork. Shouldn't
those packages be depended on only by module? Like for example
libapache2-mod-auth-pgsql?
Which by the way also depends on libpq4, but doesn't give the possibility to
install libpq5 instead of libpq4.

It's possible of course that Debian Sid's apache doesn't support postgres 8.2
yet, in which case this bugreport is invalid, but I would think it does.

Thanks!


-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)



Reply to: