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

Bug#410645: marked as done (apache2-mpm-prefork: depends on libpq4, should be libpq4 OR libpq5)



Your message dated Mon, 12 Feb 2007 22:07:26 +1100
with message-id <45D04A6E.9020906@0c3.net>
and subject line Bug#410645: apache2-mpm-prefork: depends on libpq4, should be libpq4 OR libpq5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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)


--- End Message ---
--- Begin Message ---
Ludo wrote:
> 
> 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."

Yes, the library can connect to any version server, but the apache
binaries are compiled against one specific library version.  You can't
magically replace one library with another and hope that the binaries
that link to it will continue to work.

If and when the new PostgreSQL moves from experimental to unstable,
apache will be rebuilt against the newer libraries.  Until then, this is
a non-bug.

... Adam

--- End Message ---

Reply to: