LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2008, 02:19 AM   #1
HelpSosHelp
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Exclamation PostgreSQL-8.1, Kubuntu 6.06 alternate... HELP NEEDED FOR LINUX NEWBIE


I tried to install postgreSQL-8.1 (apt-get install postgreSQL-8.1), in the middle of the installation my power was down. Then when i got my power supply back to normal i boot on my pc and found out that the postgresql-8.1 is not fully installed in my pc.

Right after that i trying to remove, purge-remove it but its still there and got the error message:

root@ubuntu:home/aaa# apt-get remove postgresql-8.1
Reading package lists.. Done
Building dependency tree.. DOne
The following package will be REMOVED:
postgresql-8.1
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to ge 0B of archives
After unpacking 11.2MB disk space will be freed.
Do you want to continue [Y/n]? Y //I typed Y here to continue
(Reading database ... 19814 files and directories currently installed.)
Removing postgresql-8.1 ...
*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 postgresql-8.1 (--remove):
subprocess pre-removal script returned error exit status 1
*Starting PostgreSQL database server
*Error: specified cluster does not exist
[fail]
invoke-rc.d: initscript postgresql-8.1, action "stop" failed.
dpkg: error while cleaning up:
subprocess post-installtion script returned error exit status 1
Errors were encountered while processing:
postgresql-8.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu:/home/aaa#
---------------------------------END------------------------------------

Last edited by HelpSosHelp; 05-15-2008 at 02:30 AM.
 
Old 05-15-2008, 03:31 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Maybe you should try to install again...
apt-get install --reinstall repostgresql-8.1
 
Old 05-17-2008, 05:10 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
And how did you get on with this? Any news/progress?


Cheers,
Tink
 
Old 05-19-2008, 09:15 PM   #4
HelpSosHelp
LQ Newbie
 
Registered: May 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
And how did you get on with this? Any news/progress?


Cheers,
Tink
lol very easy install the whole thing again.
 
Old 05-20-2008, 05:12 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Sorry to hear that. No problems the second time around?


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postgresql is giving me a VERY BAD time, help very much needed AlexSapec Linux - Software 1 02-22-2006 09:30 AM


All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration