adobe-flashpluginが削除できない
古いFLASHプラグインがインストールされてたのに気が付いて削除しようとしたら
adobe-flashplugin を削除しています ... update-alternatives: エラー: iceape-flashplugin の alternatives がありません。 update-alternatives: エラー: iceape-flashplugin の alternatives がありません。 dpkg: adobe-flashplugin の処理中にエラーが発生しました (--purge): サブプロセス インストール済みの pre-removal スクリプト はエラー終了ステータス 2 を返しました
とかでて削除できなかったので以下の内容でスクリプトファイルを作ってrootで実行して解決。
#!/bin/sh TARGETS="midbrowser adobe iceape iceweasel mozilla firefox xulrunner xulrunner-addons" for t in $TARGETS do touch /usr/local/$t.path update-alternatives --install /usr/local/$t.link $t-flashplugin /usr/local/$t.path 50 done aptitude purge adobe-flashplugin for t in $TARGETS do update-alternatives --remove-all $t-flashplugin done