Hi Felix,

On Sun, Sep 05, 2010 at 12:59:26PM +0200, Felix Koop wrote:
When installing sympa with a postgresql database and using dbconfig-common to configure the database, I get the following error:

apache2: installation seems OK ...
Reloading web server config: apache2err SQLSource::connect() No Database Driver 
installed for Pg ; you should download and install DBD::Pg from CPAN
err List::check_db_connect() Failed to connect to database
err SQLSource::create_db() Cannot create Pg DB

Which package(s) do I need to add manually to be able to install sympa?

You should install libdbd-pg-perl, which is the Debian package providing DBD::Pg.

In principle sympa already provides this dependency, but only as a fallback for libdbd-mysql-perl which is not ideal.

I suggest we keep this bugreport open (but maybe lower the severity) until we offer a more reliable grouping of database-related dependencies.

Concrete idea of approach:

* provide metapackages sympa-mysql, sympa-postgres etc. which each depend on the needed DBD::* package and recommends the possibly-remote database daemons. * have sympa depend on either of those metapackages instead of directly on either of the libs + daemons

What do others feel about this?

Do you imagine that would have helped you at your level of expertise in juggling with packages, Felix?


Regards,

 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

Reply via email to