
Ubuntu日本語フォーラム

ログインしていません。
8.04LTSから10.04LTSにインストールしたのですが、右上に進入禁止の交通信号マークが出ていて、調べてみるとflushplugin-nonfreeがうまくインストールされいません。この状態、たとえばNtEdなどをインストールしたいのですが、これが引っかかって進みません。
「flushplugin-nonfree:パッケージが非常に矛盾した状態に陥りました。削除を行う前にこのパッケージを再インストールすべきです」といったメッセージが出るのですが、パッケージマネージャー上ではアップグレード指定のマークが付いていて、はずすこともできず、削除も、再インストールもできません。
端末から、sudo apt-get remove または purge でいちど削除しようとしてもうまくいかないのですが、どうすればよいかご存知の方があれば、教えてください。
オフライン
http://www.ubuntugeek.com/known-ubuntu-10-04lucid-lynx-issuesbugs-with-workarounds.html
の
1) Upgrade from ubuntu 8.04 -> ubuntu 10.04 can break apt-get
The package flashplugin-nonfree has been problematic when upgrading 8.04 -> 10.04 and breaks apt-get.Bug reported here https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/429841
に相当するように思えます。
Workaround にある、以下のコマンド
sudo rm /var/lib/dpkg/info/flashplugin-nonfree.prerm
sudo dpkg --remove --force-remove-reinstreq flashplugin-nonfree
sudo dpkg --purge --force-remove-reinstreq flashplugin-nonfree
を順に端末より実行することで解決できますでしょうか。
オフライン
ackさん
早速ご返事ありがとうございました。
端末上で下記のような経過で、無事削除され、NtEdがインストールできました。
大変ありがとうございました。
sawa@ubuntu-vm:~$ sudo rm /var/lib/dpkg/info/flashplugin-nonfree.prerm
[sudo] password for sawa:
sawa@ubuntu-vm:~$ sudo dpkg --remove --force-remove-reinstreq flashplugin-nonfree
dpkg: 警告: overriding problem because --force enabled:
パッケージが非常に矛盾した状態に陥りました。
削除を行う前にこのパッケージを再インストールすべきです。
(データベースを読み込んでいます ... 現在 280950 個のファイルとディレクトリがインストールされています。)
flashplugin-nonfree を削除しています ...
sawa@ubuntu-vm:~$ sudo dpkg --purge --force-remove-reinstreq flashplugin-nonfree
(データベースを読み込んでいます ... 現在 280944 個のファイルとディレクトリがインストールされています。)
flashplugin-nonfree を削除しています ...
flashplugin-nonfree の設定ファイルを削除しています ...
dpkg: 警告: while removing flashplugin-nonfree, directory '/var/cache/flashplugin-nonfree' not empty so not removed.
sawa@ubuntu-vm:~$
オフライン