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

Re: apt-get remove --help



On Tue, 22 Mar 2005 15:48:11 +0200, Raymond A. Meijer
<rmeijer@internet.gr> wrote:
> On Tue 22 March 2005 15:36, Siju George wrote:
> 
> Hi,
> 
> > Thankyou so much Raymond I did as you said but still I get the error.
> > here are the details
> 
> [snip]
> 
> > 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.
> 
> What are the contents of /usr/lib/postgresql/bin?
> 
> And what does (this is one line):
> 
> 'dpkg --force-all
> -i /var/cache/apt/archives/postgresql_7.4.7-1.backports.org.1_i386.deb'
> 

I just copied the files "postmaster" and "psql" to
"/usr/lib/postgresql/bin" fro a local copy after install and the
database starts up now!!!!

will there be a problem later

the contents of /usr/lib/postgresql/bin are

cool:/home/cool# ls -l /usr/lib/postgresql/bin
total 2372
-rwxr-xr-x    1 root     root         2107 Feb 11 01:09 convert.pg_hba.conf
-rwxr-xr-x    1 root     root         2414 Feb 11 01:09 do.maintenance
-rwxr-xr-x    1 root     root         2688 Feb 11 01:09 enable_lang
-rwxr-xr-x    1 root     root        39496 Feb 11 01:08 initdb
-rwxr-xr-x    1 root     root         4777 Feb 11 01:08 initlocation
-rwxr-xr-x    1 root     root         3013 Feb 11 01:08 ipcclean
-rwxr-xr-x    1 root     root        10744 Feb 11 01:09 pg_controldata
-rwxr-xr-x    1 root     root        11871 Feb 11 01:08 pg_ctl
-rwxr-xr-x    1 root     root         4108 Feb 11 01:09 pg_encoding
-rwxr-xr-x    1 root     root         4304 Feb 11 01:09 pg_id
-rwxr-xr-x    1 root     root        17960 Feb 11 01:09 pg_resetxlog
-rwxr-xr-x    1 root     root      2125000 Feb 11 01:09 postgres
-rwxr-xr-x    1 root     root        16364 Feb 11 01:09 postgresql-dump
-rwxr-xr-x    1 root     root         5539 Feb 11 01:09 postgresql-startup
lrwxrwxrwx    1 root     root            8 Mar 22 06:56 postmaster -> postgres
-rwxr-xr-x    1 root     root       142952 Mar 22 06:52 psql
cool:/home/cool#

Should i do the 

'dpkg --force-all -i
/var/cache/apt/archives/postgresql_7.4.7-1.backports.org.1_i386.deb'

??

Thankyou so muc for the help :)))

kind regards

Siju



Reply to: