Re: Missed dependency for postgresql backport
Gerfried Fuchs a écrit :
> * Xavier Poinsard <xpoinsard@openpricer.com> [2008-04-01 11:13:40 CEST]:
>> Gerfried Fuchs a écrit :
>>> * Xavier Poinsard <xpoinsard@openpricer.com> [2008-03-31 10:33:01 CEST]:
>>>> Today, when I upgraded the postgresql packages, aptitude proposed me to
>>>> remove libpq5 which leads to broken installation.
>>> On what architecture?
>> i386
>
> Thanks for your exhaustive additional informations. In what way did
> aptitude propose you this? Did it list broken dependencies, anything?
> Can you maybe send your aptitude log file along?
My aptitude log file in french (sorry) :
Aptitude 0.4.4: journal
lun, mar 31 2008 10:21:21 +0200
IMPORTANT : ce journal ne contient que les actions demandées ; certaines
actions qui
échouent à cause d'erreurs de dpkg peuvent donc ne pas être réalisées.
2 paquets vont être installés, et 1 retirés.
815ko d'espace disque vont être libérés
===============================================================================
[SUPPRIMÉ, NON UTILISÉ] libpq5
[MIS A JOUR] postgresql-8.2 8.2.6-1~bpo40+1 -> 8.2.7-1~bpo40+1
[MIS A JOUR] postgresql-client-8.2 8.2.6-1~bpo40+1 -> 8.2.7-1~bpo40+1
===============================================================================
It says that libpq5 will be deleted since unused.
I got this running an aptitude upgrade (or dist-upgrade).
I then did an aptitude install libpq5 to fix postgresql start.
Installed package are :
ii postgresql-8.1 8.1.11-0etch1
object-relational SQL database, version 8.1
ii postgresql-8.2 8.2.7-1~bpo40+1
object-relational SQL database, version 8.2
ii postgresql-client-8.1 8.1.11-0etch1
front-end programs for PostgreSQL 8.1
ii postgresql-client-8.2 8.2.7-1~bpo40+1
front-end programs for PostgreSQL 8.2
ii postgresql-client-common 71
manager for multiple PostgreSQL client versi
ii postgresql-common 71
manager for PostgreSQL database clusters
ii postgresql-doc-8.1 8.1.11-0etch1
documentation for the PostgreSQL database ma
ii postgresql-doc-8.2 8.2.4-2~bpo1
documentation for the PostgreSQL database ma
ii libpq4 8.1.11-0etch1
PostgreSQL C client library
ii libpq5 8.3.1-1~bpo40+1
PostgreSQL C client library
You are talking from 8.3 postgres package but I only have 8.1 and 8.2.
May be it comes from that and the missing dependency is on 8.2 packages.
Let me know if you want additional info. I didn't provide many since I
was thinking this would be sufficient.
Regards,
Xavier.
>
> Sorry, if you don't give any informations I'm not able to help you or
> reproduce your problem. The postgres package version 8.3.1-1~bpo40+1
> depends on postgresql-8.3 which in turn depends on libpq5 (>= 8.3~beta1).
> The only way I can see you having a problem is that you have missing
> preferences for all the involved packages (including e.g.
> postgresql-client-common). Due to your immense informations in your
> mails this is quite likely. Or not.
>
> So long,
> Rhonda
>
Reply to: