apt-get remove --help--moreinfo
hi all,
I removed a postgresql package using
#apt-get remove postgresql
but it didnot remove all the files.
I want to change the data directory location during installation.
but now it does not ask me where it should install the database but
installs it in the same place as before.
on top of that I had manually removed some files named psql after I
uninstalled postgresql using
#apt-get remove postgresql
so mow after installing with
#apt-get install postgresql
the database does not start because these files are not there???
how can I cleanup Postgresql completely from my system and start afresh??
this is the exact error message I get:(((
Creating config file /etc/postgresql/postgresql.conf with new version
postgresql failed to start. /usr/sbin/invoke-rc.d is probably broken.
Stopping PostgreSQL database server: postmasterThe programs
"postmaster" and "psql" are needed by pg_ctl but were not found in the
directory "/usr/lib/postgresql/bin". Check your installation. .
Starting PostgreSQL database server: postmaster(FAILED) ERROR: The
programs "postmaster" and "psql" are needed by pg_ctl but were not
found in the directory "/usr/lib/postgresql/bin". Check your
installation.
Thankyou so much
kind regards
Siju
Reply to: