[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:54328] postgresql-8.3 upgrade faild
長谷川と申します。lenny を使用しています。
早速ですが apt-get upgrade 時に postgresql-8.3 がエラーとなります。
スクリプトからのエラーがでているため完了できないようなのですが
remove を指定しても
dpkg: error processing postgresql-8.3 (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
となり削除できません。
この場合、postgresql を削除または再導入するにはどうしたらよい
でしょうか。
ちょっと長いですが、以下に apt-get install 時のログを貼り付けます。
------
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
postgresql-8.3
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
postgresql-8.3
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
90 not fully installed or removed.
Need to get 0B/5256kB of archives.
After this operation, 20.5kB of additional disk space will be used.
Selecting previously deselected package postgresql-8.3.
(Reading database ... 128783 files and directories currently installed.)
Preparing to replace postgresql-8.3 8.3.9-0lenny1 (using .../postgresql-8.3_8.3.11-0lenny1_i386.deb) ...
Stopping PostgreSQL 8.3 database server: mainError: The cluster is owned by user id 109 which does not exist any more failed!
failed!
invoke-rc.d: initscript postgresql-8.3, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping PostgreSQL 8.3 database server: mainError: The cluster is owned by user id 109 which does not exist any more failed!
failed!
invoke-rc.d: initscript postgresql-8.3, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/postgresql-8.3_8.3.11-0lenny1_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Starting PostgreSQL 8.3 database server: mainError: The cluster is owned by user id 109 which does not exist any more failed!
failed!
invoke-rc.d: initscript postgresql-8.3, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/postgresql-8.3_8.3.11-0lenny1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
------
以上、よろしくお願いいたします。
--
_/_/
_/_/ mailto: oh@xxxxxxxxxxxxxx
_/_/