
Ubuntu日本語フォーラム

ログインしていません。
Ubuntu 12.04LTS に Grive + Grive Tool のインストールに成功したので、もう一台にインストールを試みたところ問題が発生しました。
grive のインストールがうまく行かず、破損パッケージが組み込まれてしまい、これが原因で先に進めません。
参考にしたweb: How to install Grive Tools on Ubuntu 12.04 64bit
Synaptic で調べたところ、 破損パッケージは realplay-installer です。
これが原因でソフトウェアセンターがクラシュレポートを表示する状態です。削除を試みたのですが削除できません。
削除方法を教えていただけないでしょうか。よろしくお願いします。
調べた情報は以下です。
========================================================================
$ sudo apt-get check
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
これらを直すためには 'apt-get -f install' を実行する必要があるかもしれません。
以下のパッケージには満たせない依存関係があります:
realplay-installer : 依存: ia32-libs しかし、インストールされていません
E: 未解決の依存関係があります。-f オプションを試してください。
$
$ sudo apt-get -f install
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
依存関係を解決しています ... 完了
以下のパッケージは「削除」されます:
realplay-installer
アップグレード: 0 個、新規インストール: 0 個、削除: 1 個、保留: 6 個。
この操作後に 61.4 kB のディスク容量が解放されます。
続行しますか [Y/n]? y
(データベースを読み込んでいます ... 現在 833207 個のファイルとディレクトリがインストールされています。)
realplay-installer を削除しています ...
rmdir: `/opt/real' を削除できません: そのようなファイルやディレクトリはありません
nspluginwrapper: /usr/lib/nspluginwrapper/plugins/npwrapper.nphelix.so is not a valid nspluginwrapper plugin
dpkg: realplay-installer の処理中にエラーが発生しました (--remove):
サブプロセス インストール済みの pre-removal スクリプト はエラー終了ステータス 1 を返しました
以下のパッケージの処理中にエラーが発生しました:
realplay-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
$
==========================================================================
$ sudo dpkg --force-all --remove realplay-installer
(データベースを読み込んでいます ... 現在 833199 個のファイルとディレクトリがインストールされています。)
realplay-installer を削除しています ...
rmdir: `/opt/real' を削除できません: そのようなファイルやディレクトリはありません
nspluginwrapper: /usr/lib/nspluginwrapper/plugins/npwrapper.nphelix.so is not a valid nspluginwrapper plugin
dpkg: realplay-installer の処理中にエラーが発生しました (--remove):
サブプロセス インストール済みの pre-removal スクリプト はエラー終了ステータス 1 を返しました
以下のパッケージの処理中にエラーが発生しました:
realplay-installer
$
$ sudo apt-get remove realplay-installer
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージは「削除」されます:
realplay-installer
アップグレード: 0 個、新規インストール: 0 個、削除: 1 個、保留: 6 個。
この操作後に 61.4 kB のディスク容量が解放されます。
続行しますか [Y/n]? y
(データベースを読み込んでいます ... 現在 833133 個のファイルとディレクトリがインストールされています。)
realplay-installer を削除しています ...
rmdir: `/opt/real' を削除できません: そのようなファイルやディレクトリはありません
nspluginwrapper: /usr/lib/nspluginwrapper/plugins/npwrapper.nphelix.so is not a valid nspluginwrapper plugin
dpkg: realplay-installer の処理中にエラーが発生しました (--remove):
サブプロセス インストール済みの pre-removal スクリプト はエラー終了ステータス 1 を返しました
以下のパッケージの処理中にエラーが発生しました:
realplay-installer
E: Sub-process /usr/bin/dpkg returned
$
================================================
オフライン
error状態のままとか、どう対処すればよいかを調べるコマンドあります。
取り敢えず、端末で次のコマンドを実行してみてください。
何か解決策が提示されるかもしれません。
$ dpkg --audit
オフライン
回答有難うございます。
$dpkg --audit
を実行しましたが、何も表示しませんでした。
他に方法ないでしょう。よろしくお願いします。
オフライン
追加情報です。
Synaptic で破損パッケージ realplay-installer の変更履歴を見てみました。
realplay-installerの完全な変更履歴
---------------------------------------------
This change is not coming from a source that supports changelogs.
Failed to fetch the changelog for realplay-installer
URI was: http://download.linuxmania.jp/precise/realplay-installer_11.0.2.2315-1soso2_amd64.changelog
---------------------------------------------
削除するため以下を試みたが、削除できません。方法を教えていただけないでしょうか?
-----------------------------------------------------------------------
$ sudo dpkg -r realplay-installer
[sudo] password for xxxx:
(データベースを読み込んでいます ... 現在 833199 個のファイルとディレクトリがインストールされています。)
realplay-installer を削除しています ...
rmdir: `/opt/real' を削除できません: そのようなファイルやディレクトリはありません
nspluginwrapper: /usr/lib/nspluginwrapper/plugins/npwrapper.nphelix.so is not a valid nspluginwrapper plugin
dpkg: realplay-installer の処理中にエラーが発生しました (--remove):
サブプロセス インストール済みの pre-removal スクリプト はエラー終了ステータス 1 を返しました
以下のパッケージの処理中にエラーが発生しました:
realplay-installer
$
よろしくお願いします。
オフライン
以下のページが参考になりませんか。
apt-getのpost-installationスクリプトエラー
http://ikkuntech.blogspot.jp/2012/03/apt-get.html
Ubuntu 9.04 「dpkg: サブプロセス post-installation script はエラー終了ステータス 1 を返しました」からの復帰
http://mypace75.blog92.fc2.com/blog-entry-279.html
それと、realplay-installerはLinuxMania独自のパッケージのようなので、
サポートに連絡した方がいいような気もします。
オフライン
aaabbbcccdddeeefffggghhh さん、
ありがとうございます。
/var/lib/dpkg/info/ の中にあった実行ファイル
realplay-installer.postinst
realplay-installer.prerm
を削除して
$sudo apt-get update
$sudo dpkg --configure -a
を実行したところエラーが現れなかった。
Synaptic で 登録済みの real-installer を完全削除に成功した。
これで解決しました。
再度、grive とgrive-tool を GDebi でインストールしたところ成功した。
現在、grive とgrive-tool が動いています。
Web をよく読んでみると、注意書きが書いあった。
1. Update the json-c and yajl packages to the Ubuntu 12.10 Quantal versions.
Please note that these changes might impact on software that require the older versions of the packages to work.
We have not found any problems updating these packages in 12.04 but cannot guarantee this.
You can safely update and downgrade later if a problem appears.
このアップグレードをすることで、realplay-installer が破損したと予想される。しかし、このパッケージは私にとって必要ないものでした。
はじめての経験だったので、本当に助かりました。ありがとうございました。
オフライン