/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
postgresql-knas
Fra : Claus Christian Lars~


Dato : 29-03-03 20:27

Jeg fortsætter nu min tråd om min postgresql. Jeg har selv maltrakteret
den under forsøg på at installere sql-ledger.

debian 3.0 unstable

debian# apt-get remove --purge 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 41 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 6525kB will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing postgresql (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian# apt-get install postgresql
Reading Package Lists... Done
Building Dependency Tree... Done
1 packages upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/2977kB of archives. After unpacking 823kB will be used.
Preconfiguring packages ...
postgresql failed to preconfigure, with exit status 128
Selecting previously deselected package postgresql.
(Reading database ... 121720 files and directories currently installed.)
Preparing to replace postgresql 7.3.2r-2 (using
..../postgresql_7.3.2r-6_i386.deb) ...
No /usr/lib/postgresql/bin/postmaster found running; none killed.
/etc/postgresql/postmaster.conf is missing
/etc/init.d/postgresql: line 53: cannot: command not found
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/etc/postgresql/postmaster.conf is missing
/etc/init.d/postgresql: line 53: cannot: command not found
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: error processing
/var/cache/apt/archives/postgresql_7.3.2r-6_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
/var/cache/apt/archives/postgresql_7.3.2r-6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian#


 
 
Søg
Reklame
Statistik
Spørgsmål : 177552
Tips : 31968
Nyheder : 719565
Indlæg : 6408843
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste