[ubuntu-uk] Problem installing v8.04 from an imperfect 6.06 setup. Help requested

Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk
Sat Nov 15 21:30:27 GMT 2008


Hi Louis,

Quoting Louis Gidney <LouGid39 at cromer.demon.co.uk>:

> Replying to :  Matthew Macdonald-Wallace
> (Greetings from Ardnamurchan Peninsula, Scottish Highlands)
>
> Dear Matthew,
> Thank you for your prompt reply to my plea for help.
>
> I've done:
>    sudo aptitude update
>    sudo aptitude upgrade
> as you suggested.
>
> Something called   postgresql-8.1  seems to prevent
> successful completion   --as you will better understand
> than I, (an ordinary user) from some lines of the terminal
> upgrade process pasted further below.

<snip />

> Preparing to replace postgresql-8.1 8.1.9-0ubuntu0.6.06 (using
> .../postgresql-8.1_8.1.13-0ubuntu0.6.06_i386.deb) ...
> * Stopping PostgreSQL 8.1 database server  * Error: specified cluster
> does not exist
>
> [fail]
> invoke-rc.d: initscript postgresql-8.1, action "stop" failed.
> dpkg: warning - old pre-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> * Stopping PostgreSQL 8.1 database server  * Error: specified cluster
> does not exist
>
> [fail]
> invoke-rc.d: initscript postgresql-8.1, action "stop" failed.
> dpkg: error processing
> /var/cache/apt/archives/postgresql-8.1_8.1.13-0ubuntu0.6.06_i386.deb
> (--unpack):
> subprocess new pre-removal script returned error exit status 1
> * Starting PostgreSQL 8.1 database server  * Error: specified cluster
> does not exist
>
> [fail]
> invoke-rc.d: initscript postgresql-8.1, action "start" failed.
> dpkg: error while cleaning up:
> subprocess post-installation script returned error exit status 1

Hmmm, do you know if you are using Postgresql? an easy way to find out  
is to type the following:

sudo netstat -antpu | grep -i listen

and paste the response into your reply so I can see what's running.

It looks like there is an issue with the postgresql package, so it may  
be worth running:

sudo aptitude clean
sudo aptitude update
sudo aptitude update

If you could also post the content of /etc/apt/sources.list, that  
would be great.

I'm traveling tomorrow however I'll take a look at this when I reach  
my destination if no-one else has leapt in.

Kind regards,

Matt.
-- 
Matthew Macdonald-Wallace
matthew at truthisfreedom.org.uk
http://www.truthisfreedom.org.uk/



More information about the ubuntu-uk mailing list