[ubuntu-uk] Problem installing v8.04 from an imperfect 6.06 setup. Help requested
Louis Gidney
LouGid39 at cromer.demon.co.uk
Sun Nov 16 08:00:08 GMT 2008
Dear Matthew,
(responses interspersed below)
You wrote:
> I'm traveling tomorrow however I'll take a look at this when I reach
> my destination if no-one else has leapt in.
Don't let this spoil your weekend.
I am an "oldie" nowadays, in retirement.
This IS important to me, but not so urgent.
>> 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?
No. I confess have no idea what it is.
From what appears in Synaptic's window I get the
impression it is some kind of database or record
of downloads and upgrades (?).
> 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.
louis at Edison:~$ sudo netstat -antpu | grep -i listen
Password:
tcp 0 0 0.0.0.0:8000 0.0.0.0:*
LISTEN 1 1772/mzscheme
tcp 0 0 0.0.0.0:2628 0.0.0.0:*
LISTEN 1 1718/0
tcp 0 0 0.0.0.0:869 0.0.0.0:*
LISTEN 1 4679/rpc.statd
tcp 0 0 0.0.0.0:389 0.0.0.0:*
LISTEN 1 1513/slapd
tcp 0 0 0.0.0.0:199 0.0.0.0:*
LISTEN 1 4441/snmpd
tcp 0 0 0.0.0.0:7080 0.0.0.0:*
LISTEN 1 4343/python2.4
tcp 0 0 0.0.0.0:139 0.0.0.0:*
LISTEN 1 2340/smbd
tcp 0 0 0.0.0.0:7180 0.0.0.0:*
LISTEN 1 3896/python2.4
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN 8 715/portmap
tcp 0 0 0.0.0.0:21 0.0.0.0:*
LISTEN 1 4500/vsftpd
tcp 0 0 127.0.0.1:46613 0.0.0.0:*
LISTEN 1 1141/python
tcp 0 0 10.1.1.101:53 0.0.0.0:*
LISTEN 1 1049/named
tcp 0 0 127.0.0.1:53 0.0.0.0:*
LISTEN 1 1049/named
tcp 0 0 127.0.0.1:53494 0.0.0.0:*
LISTEN 1 1114/hpiod
tcp 0 0 127.0.0.1:631 0.0.0.0:*
LISTEN 1 1295/cupsd
tcp 0 0 0.0.0.0:50008 0.0.0.0:*
LISTEN 8 845/ccsd
tcp 0 0 0.0.0.0:25 0.0.0.0:*
LISTEN 1 1987/master
tcp 0 0 127.0.0.1:953 0.0.0.0:*
LISTEN 1 1049/named
tcp 0 0 0.0.0.0:445 0.0.0.0:*
LISTEN 1 2340/smbd
tcp6 0 0 :::389 :::*
LISTEN 1 1513/slapd
tcp6 0 0 :::80 :::*
LISTEN 1 4961/apache2
tcp6 0 0 :::22 :::*
LISTEN 1 4465/sshd
tcp6 0 0 ::1:50006 :::*
LISTEN 8 845/ccsd
tcp6 0 0 ::1:953 :::*
LISTEN 1 1049/named
tcp6 0 0 :::50009 :::*
LISTEN 8 845/ccsd
louis at Edison:~$
> 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
louis at Edison:~$ sudo aptitude clean
Reading package lists... Done
Building dependency tree... Done
Initialising package states... Done
Building tag database... Done
louis at Edison:~$ sudo aptitude update
Reading package lists... Done
Building dependency tree... Done
Initialising package states... Done
Building tag database... Done
Get:1 http://gb.archive.ubuntu.com dapper Release.gpg [189B]
Get:2 http://gb.archive.ubuntu.com dapper-backports Release.gpg [189B]
Get:3 http://security.ubuntu.com dapper-security Release.gpg [189B]
Get:4 http://archive.ubuntu.com dapper-updates Release.gpg [189B]
Get:5 http://archive.ubuntu.com dapper Release.gpg [189B]
Hit http://gb.archive.ubuntu.com dapper Release
Hit http://security.ubuntu.com dapper-security Release
Hit http://archive.ubuntu.com dapper-updates Release
Hit http://gb.archive.ubuntu.com dapper-backports Release
Hit http://archive.ubuntu.com dapper Release
Hit http://gb.archive.ubuntu.com dapper/main Packages
Hit http://gb.archive.ubuntu.com dapper/restricted Packages
Hit http://gb.archive.ubuntu.com dapper/universe Packages
Hit http://gb.archive.ubuntu.com dapper/multiverse Packages
Hit http://security.ubuntu.com dapper-security/main Packages
Hit http://archive.ubuntu.com dapper-updates/main Packages
Hit http://security.ubuntu.com dapper-security/restricted Packages
Hit http://security.ubuntu.com dapper-security/universe Packages
Hit http://archive.ubuntu.com dapper-updates/restricted Packages
Hit http://gb.archive.ubuntu.com dapper-backports/main Packages
Hit http://gb.archive.ubuntu.com dapper-backports/restricted Packages
Hit http://gb.archive.ubuntu.com dapper-backports/universe Packages
Hit http://gb.archive.ubuntu.com dapper-backports/multiverse Packages
Hit http://archive.ubuntu.com dapper/universe Packages
Hit http://archive.ubuntu.com dapper/main Packages
Hit http://archive.ubuntu.com dapper/restricted Packages
Hit http://archive.ubuntu.com dapper/multiverse Packages
Get:6 http://archive.canonical.com dapper-commercial Release.gpg [189B]
Get:7 http://archive.canonical.com dapper-commercial Release [5999B]
Hit http://archive.canonical.com dapper-commercial/main Packages
Fetched 6193B in 5s (1133B/s)
Reading package lists... Done
louis at Edison:~$ sudo aptitude update
Reading package lists... Done
Building dependency tree... Done
Initialising package states... Done
Building tag database... Done
Get:1 http://gb.archive.ubuntu.com dapper Release.gpg [189B]
Get:2 http://gb.archive.ubuntu.com dapper-backports Release.gpg [189B]
Get:3 http://archive.canonical.com dapper-commercial Release.gpg [189B]
Get:4 http://security.ubuntu.com dapper-security Release.gpg [189B]
Hit http://gb.archive.ubuntu.com dapper Release
Get:5 http://archive.ubuntu.com dapper-updates Release.gpg [189B]
Get:6 http://archive.ubuntu.com dapper Release.gpg [189B]
Hit http://security.ubuntu.com dapper-security Release
Hit http://archive.canonical.com dapper-commercial Release
Hit http://gb.archive.ubuntu.com dapper-backports Release
Hit http://archive.ubuntu.com dapper-updates Release
Hit http://gb.archive.ubuntu.com dapper/main Packages
Hit http://gb.archive.ubuntu.com dapper/restricted Packages
Hit http://gb.archive.ubuntu.com dapper/universe Packages
Hit http://security.ubuntu.com dapper-security/main Packages
Hit http://archive.ubuntu.com dapper Release
Hit http://archive.canonical.com dapper-commercial/main Packages
Hit http://gb.archive.ubuntu.com dapper/multiverse Packages
Hit http://gb.archive.ubuntu.com dapper-backports/main Packages
Hit http://gb.archive.ubuntu.com dapper-backports/restricted Packages
Hit http://gb.archive.ubuntu.com dapper-backports/universe Packages
Hit http://security.ubuntu.com dapper-security/restricted Packages
Hit http://security.ubuntu.com dapper-security/universe Packages
Hit http://archive.ubuntu.com dapper-updates/main Packages
Hit http://gb.archive.ubuntu.com dapper-backports/multiverse Packages
Hit http://archive.ubuntu.com dapper-updates/restricted Packages
Hit http://archive.ubuntu.com dapper/universe Packages
Hit http://archive.ubuntu.com dapper/main Packages
Hit http://archive.ubuntu.com dapper/restricted Packages
Hit http://archive.ubuntu.com dapper/multiverse Packages
Fetched 6B in 0s (8B/s)
Reading package lists... Done
louis at Edison:~$
louis at Edison:~$
> If you could also post the content of /etc/apt/sources.list, that
> would be great.
START OF PASTE--------------------------------------------
deb http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted universe
multiverse
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted
# deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main
restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper universe
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main
restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main
restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
# deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe
deb http://archive.ubuntu.com/ubuntu/ dapper universe main restricted
multiverse
END OF PASTE----------------------------------------------
(I looked at this via Nautilus)
kind regards,
Louis
More information about the ubuntu-uk
mailing list