Here is the error message when I tried to remove postgresql:
-----------------------------------------------------------------------------
The following packages will be REMOVED:
postgresql-8.4 postgresql-client-common postgresql-common
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 14.0MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 235496 files and directories currently installed.)
Removing postgresql-8.4 ...
* Stopping PostgreSQL 8.4 database server
* Insecure directory in $ENV{PATH} while running with -T switch at
/usr/bin/pg_ctlcluster line 53.
[fail]
invoke-rc.d: initscript postgresql-8.4, action "stop" failed.
dpkg: error processing postgresql-8.4 (--remove):
subprocess installed pre-removal script returned error exit status 9
* Starting PostgreSQL 8.4 database server
* Insecure directory in $ENV{PATH} while running with -T switch at
/usr/bin/pg_ctlcluster line 53.
[fail]
invoke-rc.d: initscript postgresql-8.4, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 9
Removing postgresql-common ...
Removing postgresql-client-common ...
Processing triggers for man-db ...
Errors were encountered while processing:
postgresql-8.4
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
PostgreSQL is not Responding
https://bugs.launchpad.net/bugs/508290
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs