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

[debian-users:20246] Cannot upgrade cbb



西野@大阪市立大学です。

研究室のコンピュータですが、
dselect(Access methodはaptを選んでます)でslink-proposed-updatesに
入っているcbbをインストールしてcbbをアップグレードしようとしたら、
3番目のInstallの段階で以下のようなエラーがでます。

(Reading database ... 48645 files and directories currently installed.)
Preparing to replace cbb 0.81-0 (using .../archives/cbb_0.81-0_all.deb) ...
Update-menus: waiting for dpkg to finish(forking to background)
Update-menus: (checking /var/lib/dpkg/lock)
rm: /usr/X11R6/lib/X11/cbb/docs/cbb-man: is a directory
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Document `cbb' is not installed, cannot remove.
rm: /usr/X11R6/lib/X11/cbb/docs/cbb-man: is a directory
dpkg: error processing /var/cache/apt/archives/cbb_0.81-0_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Update-menus: waiting for dpkg to finish(forking to background)
Update-menus: (checking /var/lib/dpkg/lock)
Update-menus: waiting for dpkg to finish(forking to background)
Update-menus: (checking /var/lib/dpkg/lock)
ln: /usr/X11R6/lib/X11/cbb/docs/cbb-man/html: File exists
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/cbb_0.81-0_all.deb
E: Sub-process returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall again
Press enter to continue.

(ここでenterを押す。)

dpkg: error processing cbb (--configure):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting configuration.
Errors were encountered while processing:
 cbb

installation script returned error exit status 100.
Press RETURN to continue.

何回インストールをやり直しても上記のようなエラーが出ます。
それで、一旦削除しようと思って、dselectの2番目のselectの段階で
削除するように指定して削除しようとすると

running dpkg --pending --remove ...
dpkg: error processing cbb (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 cbb

dpkg --remove returned error exit status 1.
Press RETURN to continue.

というエラーが出て削除できません。ccbをアップグレードすることも
削除することもできなくなりました。
とりあえず、アップグレードしたいのですがどうすればいいのでしょうか。
アドバイスお願いいたします。
なお、現在のccbの状況は

pFR cbb             0.81-0         The Check-Book Balancer - a Quicken clone

となってます。

**************************************************************
   大阪市立大学大学院工学研究科 応用物理学専攻数理工学講座
       西野  誠
       mail: nishino@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    http://gutzwiller.a-phys.eng.osaka-cu.ac.jp/~nishino/
**************************************************************