Updating postgresql to 8.2.6-0ubuntu0.7.10.1 fails during install from update manager.

Asked by Lars Jarnbo Pedersen

When updating postgresql from version 8.2.5-1.1 to 8.2.6-0ubuntu0.7.10.1 the following error message appears in the update manager:

E: /var/cache/apt/archives/postgresql-8.2_8.2.6-0ubuntu0.7.10.1_i386.deb: subprocess new pre-removal script returned error exit status 1

All other updates are installed withot problems.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu postgresql-8.2 Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#1

Please make update and upgrade from terminal command line to see more messages...

Open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade

give your user password when requested, you don't see nothing when you type it, then press enter.

Revision history for this message
Lars Jarnbo Pedersen (lars-jarnbo-pedersen-gmail) said :
#2

Thanks marcobra, that solved my question.

Revision history for this message
Lars Jarnbo Pedersen (lars-jarnbo-pedersen-gmail) said :
#3

The real problem was that the postgres server had a wrong pid file hanging so the init.d function could not stop the running process the normal way. Finding and deleting the pid file and killing the postgres processes manually solved the problem.
Thanks alot.