[Pkg-postgresql-public] Problem with pg_upgradecluster

Bernard bernard at tnauk.org.uk
Tue Aug 17 12:06:13 UTC 2010


Hi Martin,

Yes, /usr/lib/postgresql/8.4/bin/initdb does not exist.

dpkg -s postgresql-8.4:
Package `postgresql-8.4' is not installed and no info is available.
Use dpkg --info ... dpkg --contents...
Both return "failed to read archive `postgresql-8.4'  No such file or directory.

8.4 was got and intalled using synaptic (Ubuntu 10.04, not 9.04!!), and no error 
messages were returned - or if they were, did not stay visible.

On reviewing Synaptic, I see that postgresql-8.4 is not marked as installed - 
presumably the cause of the problem!

Given the confusion that surrounds upgrading postgres, would it be possible to 
provide install and upgrade scripts that would cover all the requirements?

Many thanks for your advice!
Bernard


Bernard Moreton
IT Director, National Talking Newspapers and Magazines (TNAUK)
Charity registered in the UK 293656

DDI: 01 435 869 316

On 17/08/2010 05:52, Martin Pitt wrote:
> Hello Bernard,
>
> Bernard [2010-08-16 14:43 +0100]:
>> I have Postgres 8.2 running on Ubuntu 9.04, and have got down the 8.4 packages.
>> But on trying
>> sudo pg_upgradecluster --lc_collate=POSIX 8.2 main
>> with or without -v 8.4
>> I get
>> Error: invalid version: 8.4
>
> This means that /usr/lib/postgresql/8.4/bin/initdb does not exist. Are
> you sure that the "postgresql-8.4" package is properly installed? What
> does
>
>    dpkg -s postgresql-8.4
>
> say?
>
> Martin



More information about the Pkg-postgresql-public mailing list