[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get remove --help



On Tue, 22 Mar 2005 15:26:26 +0200, Raymond A. Meijer
<rmeijer@internet.gr> wrote:
> On Tue 22 March 2005 15:20, Siju George wrote:

> 
> After this install run 'apt-get --purge remove postgresql' and after
> that run 'apt-get install postgresql'.
> 
> That should do the trick.
> 

Thankyou so much Raymond I did as you said but still I get the error.
here are the details

cool:/home/cool# apt-get --purge remove postgresql
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  postgresql*
0 packages upgraded, 0 newly installed, 1 to remove and 6  not upgraded.
Need to get 0B of archives. After unpacking 9970kB will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 9245 files and directories currently installed.)
Removing postgresql ...
Stopping PostgreSQL database server: postmasterThe programs "postmaster" and "ps
ql" are needed by pg_ctl but
were not found in the directory "/usr/lib/postgresql/bin".
Check your installation.
.
dpkg - warning: while removing postgresql, directory `/etc/logcheck/ignore.d.wor
kstation' not empty so not removed.
dpkg - warning: while removing postgresql, directory `/etc/logcheck/ignore.d.ser
ver' not empty so not removed.
dpkg - warning: while removing postgresql, directory `/etc/logcheck/ignore.d.par
anoid' not empty so not removed.
dpkg - warning: while removing postgresql, directory `/etc/logcheck/violations.i
gnore.d' not empty so not removed.
dpkg - warning: while removing postgresql, directory `/etc/logcheck' not empty s
o not removed.
Purging configuration files for postgresql ...
rmdir: `/etc/postgresql': Directory not empty
/etc/postgresql not empty so not removed.
maggie:/home/hifx# apt-get install postgreaql
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package postgreaql
maggie:/home/hifx# apt-get install postgresql
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  postgresql
0 packages upgraded, 1 newly installed, 0 to remove and 6  not upgraded.
Need to get 0B/3689kB of archives. After unpacking 9970kB will be used.
Preconfiguring packages ...
Selecting previously deselected package postgresql.
(Reading database ... 8993 files and directories currently installed.)
Unpacking postgresql (from .../postgresql_7.4.7-1.backports.org.1_i386.deb) ...
Setting up postgresql (7.4.7-1.backports.org.1) ...

Creating config file /etc/postgresql/postmaster.conf with new version
Creating missing home directory /var/lib/postgres for postgres

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 "ps
ql" are needed by pg_ctl but were not found in the directory "/usr/lib/postgresq
l/bin". Check your installation. . Starting PostgreSQL database server: postmast
er(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 installati
on.

cool:/home/cool#



Reply to: