Remove the postgresql package without problems, without encountering the problem "Error: / var/lib/postgresql/8.4/main is not accessible or does not exist"
Hello, I have a problem with the package postgresql-common. I accidentally deleted the file postgresql.conf in the directory / etc/postgresql/
"Error: / var/lib/
PS: Because even after I installed the postgresql-9.3 which works well with the database but not with PHP5 and apache server.
Thanks !
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Did you try using touch to make the missing file?
Does it actually exist?
Revision history for this message
|
#2 |
What is the output of the terminal command
dpkg -l | grep postgresql
Revision history for this message
|
#3 |
I ran the command. He appeared to me the list of postgresql. But what is this command? Is not helping me at all
Envoyé depuis Windows Mail
De : Manfred Hampl
Envoyé : lundi 13 janvier 2014 13:16
À : Glody Fimpa
Your question #242065 on postgresql-common in Ubuntu changed:
https:/
Manfred Hampl requested more information:
What is the output of the terminal command
dpkg -l | grep postgresql
--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#4 |
That command should list the status (installed / not installed) of the postgresql packages.
For helping you, we need some information about your system. So please paste the output into this question document that we can see it. Then we can try finding a solution for your problem.
Revision history for this message
|
#5 |
figlody@
iU postgresql 9.1+129ubuntu1 object-relational SQL database (supported version)
iU postgresql-9.1 9.1.11-
ii postgresql-
ii postgresql-
iF postgresql-common 129ubuntu1 PostgreSQL database-cluster manager
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #242065]: Remove the postgresql package without problems, without encountering the problem "Error: / var/lib/
> Date: Sat, 18 Jan 2014 17:06:21 +0000
>
> Your question #242065 on postgresql-common in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> That command should list the status (installed / not installed) of the postgresql packages.
> For helping you, we need some information about your system. So please paste the output into this question document that we can see it. Then we can try finding a solution for your problem.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#6 |
Thank you for providing the output. It shows that some of the postgresql packages are in an unhealthy state.
Please execute the following commands in a terminal and copy/paste all output as done before.
ps ax | grep postgresql
sudo dpkg --audit
sudo dpkg --configure -a
(Note: This most probably will not solve your problem, but should provide some more detail information that hopefully will help finding the solution.)
Revision history for this message
|
#7 |
figlody@
2640 pts/0 S+ 0:00 grep --color=auto postgresql
figlody@
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
postgresql object-relational SQL database (supported version)
postgresql-9.1 object-relational SQL database, version 9.1 server
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
postgresql-common PostgreSQL database-cluster manager
figlody@
Setting up postgresql-common (129ubuntu1) ...
/bin/df: `/var/lib/
/bin/df: no file systems processed
* Starting PostgreSQL 9.1 database server * Error: /var/lib/
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql-9.1:
postgresql-9.1 depends on postgresql-common (>= 115~); however:
Package postgresql-common is not configured yet.
dpkg: error processing postgresql-9.1 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql:
postgresql depends on postgresql-9.1; however:
Package postgresql-9.1 is not configured yet.
dpkg: error processing postgresql (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
postgresql-common
postgresql-9.1
postgresql
figlody@
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #242065]: Remove the postgresql package without problems, without encountering the problem "Error: / var/lib/
> Date: Mon, 20 Jan 2014 07:41:29 +0000
>
> Your question #242065 on postgresql-common in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Thank you for providing the output. It shows that some of the postgresql
> packages are in an unhealthy state.
>
> Please execute the following commands in a terminal and copy/paste all
> output as done before.
>
> ps ax | grep postgresql
> sudo dpkg --audit
> sudo dpkg --configure -a
>
> (Note: This most probably will not solve your problem, but should
> provide some more detail information that hopefully will help finding
> the solution.)
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#8 |
It seems to me that the best approach is to try completely removing all postgresql packages, and then to start installing the required packages again.
Try the terminal command
sudo dpkg -P postgresql-common postgresql-9.1 postgresql postgresql-
and copy/paste all output into this question document as done before.
Revision history for this message
|
#9 |
I used the command three times in the first two cases came out a different output than the one below. At the third and last time, was released this output that I posted below:
figlody@
[sudo] password for figlody:
Sorry, try again.
[sudo] password for figlody:
dpkg: warning: there's no installed package matching postgresql-common
dpkg: warning: there's no installed package matching postgresql-9.1
dpkg: warning: there's no installed package matching postgresql
dpkg: warning: there's no installed package matching postgresql-
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #242065]: Remove the postgresql package without problems, without encountering the problem "Error: / var/lib/
> Date: Mon, 20 Jan 2014 13:01:29 +0000
>
> Your question #242065 on postgresql-common in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> It seems to me that the best approach is to try completely removing all
> postgresql packages, and then to start installing the required packages
> again.
>
> Try the terminal command
>
> sudo dpkg -P postgresql-common postgresql-9.1 postgresql postgresql-
> client-9.1 postgresql-
>
> and copy/paste all output into this question document as done before.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#10 |
Some of the packages have already been successfully deinstalled, but it sees that the command has been truncated, so please try again with:
sudo dpkg -P postgresql-
dpkg -l | grep postgresql
and copy/paste all output as done before.
Revision history for this message
|
#11 |
This is the output after the two commands:
figlody@
[sudo] password for figlody:
(Reading database ... 251864 files and directories currently installed.)
Removing postgresql-
dpkg: warning: while removing postgresql-
Removing postgresql-
Purging configuration files for postgresql-
Processing triggers for man-db ...
figlody@
figlody@
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #242065]: Remove the postgresql package without problems, without encountering the problem "Error: / var/lib/
> Date: Tue, 21 Jan 2014 06:51:14 +0000
>
> Your question #242065 on postgresql-common in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Some of the packages have already been successfully deinstalled, but it
> sees that the command has been truncated, so please try again with:
>
> sudo dpkg -P postgresql-
> dpkg -l | grep postgresql
>
> and copy/paste all output as done before.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#12 |
Now there is no postgresql package installed on your system any more.
You can now decide which version you want, and should try installing that.
Revision history for this message
|
#13 |
So everything is resolved. Postgresql -8.4 -9.1 e have all been uninstalled??
Thank you so much !!!
Inviata da Windows Mail
Da: <email address hidden>
Data invio: mercoledì 22 gennaio 2014 22:41
A: Glody Fimpa
Your question #242065 on postgresql-common in Ubuntu changed:
https:/
Status: Open => Answered
Manfred Hampl proposed the following answer:
Now there is no postgresql package installed on your system any more.
You can now decide which version you want, and should try installing that.
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#14 |
To be exact: There is no postgresql package installed any more that had been installed from Ubuntu/Debian sources. If you have installed a postgesql package manually (downloaded from postgesql.org and compiled from source etc.), that might still be there.
To check for any remnants, I recommend issuing the following commands:
sudo updatedb
locate postgresql
Please copy/paste all output as done before.
Revision history for this message
|
#15 |
This is the output after you run the two commands :
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/opt/PostgreSQL
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/var/cache/
/var/cache/
/var/crash/
/var/lib/postgresql
/var/lib/
/var/lib/
/var/lib/
/var/lib/
figlody@
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #242065]: Remove the postgresql package without problems, without encountering the problem "Error: / var/lib/
> Date: Thu, 23 Jan 2014 06:46:14 +0000
>
> Your question #242065 on postgresql-common in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> To be exact: There is no postgresql package installed any more that had
> been installed from Ubuntu/Debian sources. If you have installed a
> postgesql package manually (downloaded from postgesql.org and compiled
> from source etc.), that might still be there.
>
> To check for any remnants, I recommend issuing the following commands:
>
> sudo updatedb
> locate postgresql
>
> Please copy/paste all output as done before.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#16 |
This shows, that there are remainders of (at least) three different postgresql packages on your system (8.4, 9.1, 9.3).
Can you remember how you have installed postgresql-9.3?
I assume you have downloaded a zipped source file and installed with a "make install" command or something like that.
To clean that up you have to deinstall that program with a "make uninstall" command or similar.
Since you did not use the standard Ubuntu package but some other source, it is not possible to provide exact instructions.
Revision history for this message
|
#17 |
Ok. What about the remains of -8.4 and -9.1 Postgresql that are still in my PC, how do I remove them ??
Inviata da Windows Mail
Da: <email address hidden>
Data invio: venerdì 24 gennaio 2014 09:01
A: Glody Fimpa
Your question #242065 on postgresql-common in Ubuntu changed:
https:/
Status: Open => Answered
Manfred Hampl proposed the following answer:
This shows, that there are remainders of (at least) three different
postgresql packages on your system (8.4, 9.1, 9.3).
Can you remember how you have installed postgresql-9.3?
I assume you have downloaded a zipped source file and installed with a "make install" command or something like that.
To clean that up you have to deinstall that program with a "make uninstall" command or similar.
Since you did not use the standard Ubuntu package but some other source,
it is not possible to provide exact instructions.
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#18 |
It seems that the output of the locate command has been truncated, and the first part is missing.
The remainders of postgresql 9.1 that are visible in the list can be deleted with the terminal commands
sudo rm -rf /usr/share/
sudo rm /var/cache/
and for 8.4
sudo rm -rf /var/lib/
sudo rm /var/lib/
but I am not sure whether there aren't more files that were not shown in the truncated list.
When you have removed postgresql 9.3 you should run the terminal commands
sudo updatetdb
locate postgresql
again to check if there are some more.
Can you help with this problem?
Provide an answer of your own, or ask Glody Fimpa for more information if necessary.