Ubuntu 12.04 に Chrome をインストールする際にこの依存関係の問題を解決するにはどうすればよいですか?

Ubuntu 12.04 に Chrome をインストールする際にこの依存関係の問題を解決するにはどうすればよいですか?

Ubuntu 12.04 を実行している 64 ビット Intel ボックスに Chrome の最新バージョンをインストールする必要があります。次の手順に従ってください:

http://www.ubuntuupdates.org/ppa/google_chrome

最後のコマンドまではすべて順調に進みます:

sudo apt-get install google-chrome-stable

最後のコマンドを実行すると、以下の出力が表示されます。「満たされていない依存関係」を解決するにはどうすればよいですか? ご協力ありがとうございます。

root@ECCServer:~# apt-get install google-chrome-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgnome2-0 : Depends: libgnome-2-0 (= 2.32.1-5) but it is not going to be installed
libgnome2-bin : Depends: libgnome-2-0 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

答え1

基本的に、インストールを強制する以外に、実際に解決する方法はありません。基本的に、libgnome-2.0が必要で、2.32.1-5を使用しています。

強制的にインストールすれば、おそらく2.32バージョンでも問題なく動作する可能性が高いですが、保証はできません。リポジトリとして追加されており、.debファイルがない場合は、.debファイルを次の場所で見つけることができるかもしれません/var/cache/apt/archives/

sudo dpkg -i --force-depends-version /var/cache/apt/archives/<name of chrome.deb>

これにより、依存関係のバージョンの問題が警告に変わり、インストールされるはずですが、前述したように、適切に機能するという保証はありません。

関連情報