Google ChromeをcentOSにインストールした際の操作ログを記載する。
Linux用ファイルをDLし、rpmコマンドを使用してインストールすると、エラー発生。
# rpm -ivh google-chrome-beta_current_i386.rpm
警告: google-chrome-beta_current_i386.rpm: ヘッダ V3 DSA signature: NOKEY, key ID 7fac5991
エラー: 依存性の欠如:
lsb >= 3.2 は google-chrome-beta-4.0.249.30-33928.i386 に必要とされています
xdg-utils は google-chrome-beta-4.0.249.30-33928.i386 に必要とされています
指摘のあったlsbをインストールしようとするが、CentOS5.4にはすでに3.1のバージョンのLSBが導入済みであった。
# yum install redhat-lsb.i386 -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.riken.jp
* base: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
Setting up Install Process
Package redhat-lsb-3.1-12.3.EL.el5.centos.i386 already installed and latest version
Nothing to do
そのため、lsb3.2を求めてrpmの検索を行い、下記ページよりDLする。
http://rpm.pbone.net/index.php3/stat/4/idpl/13137910/com/redhat-lsb-3.2-7.fc13.i686.rpm.html
そして、rpmのインストールを行う
# rpm -ihv redhat-lsb-3.2-7.fc13.i686.rpm
エラー: 依存性の欠如:
libQtCore.so.4 は redhat-lsb-3.2-7.fc13.i686 に必要とされています
libQtGui.so.4 は redhat-lsb-3.2-7.fc13.i686 に必要とされています
libQtNetwork.so.4 は redhat-lsb-3.2-7.fc13.i686 に必要とされています
libQtOpenGL.so.4 は redhat-lsb-3.2-7.fc13.i686 に必要とされています
libQtSql.so.4 は redhat-lsb-3.2-7.fc13.i686 に必要とされています
libQtSvg.so.4 は redhat-lsb-3.2-7.fc13.i686 に必要とされています
libQtXml.so.4 は redhat-lsb-3.2-7.fc13.i686 に必要とされています
rpmlib(FileDigests) <= 4.6.0-1 は redhat-lsb-3.2-7.fc13.i686 に必要とされています
rpmlib(PayloadIsXz) <= 5.2-1 は redhat-lsb-3.2-7.fc13.i686 に必要とされています
i686用を使ったため、i386のインストールを試みる。
DLは下記サイトから。
http://www.rpmfind.net/linux/rpm2html/search.php?query=redhat-lsb
# rpm -ihv redhat-lsb-3.2-6.fc10.1.i386.rpm
警告: redhat-lsb-3.2-6.fc10.1.i386.rpm: ヘッダ V3 DSA signature: NOKEY, key ID 4ebfc273
エラー: 依存性の欠如:
libQtCore.so.4 は redhat-lsb-3.2-6.fc10.1.i386 に必要とされています
libQtGui.so.4 は redhat-lsb-3.2-6.fc10.1.i386 に必要とされています
libQtNetwork.so.4 は redhat-lsb-3.2-6.fc10.1.i386 に必要とされています
libQtOpenGL.so.4 は redhat-lsb-3.2-6.fc10.1.i386 に必要とされています
libQtSql.so.4 は redhat-lsb-3.2-6.fc10.1.i386 に必要とされています
libQtSvg.so.4 は redhat-lsb-3.2-6.fc10.1.i386 に必要とされています
libQtXml.so.4 は redhat-lsb-3.2-6.fc10.1.i386 に必要とされています
パッケージマネージャを使用して、エラーのでたライブラリを
インストール(qt4-4.2.1-1.i386)
そして、満を持してrpmをインストールするが、エラー発生
# rpm -ihv redhat-lsb-3.2-6.fc10.1.i386.rpm
警告: redhat-lsb-3.2-6.fc10.1.i386.rpm: ヘッダ V3 DSA signature: NOKEY, key ID 4ebfc273
準備中... ########################################### [100%]
ファイル /etc/redhat-lsb/lsb_start_daemon (パッケージ redhat-lsb-3.2-6.fc10.1.i386 から) は、パッケージ redhat-lsb-3.1-12.3.EL.el5.centos.i386 からのファイルと競合しています。
ファイル /usr/sbin/redhat_lsb_trigger.i386 (パッケージ redhat-lsb-3.2-6.fc10.1.i386 から) は、パッケージ redhat-lsb-3.1-12.3.EL.el5.centos.i386 からのファイルと競合しています。
ファイル /usr/share/man/man1/lsb_release.1.gz (パッケージ redhat-lsb-3.2-6.fc10.1.i386 から) は、パッケージ redhat-lsb-3.1-12.3.EL.el5.centos.i386 からのファイルと競合しています。
最初にいれたlsbが競合している。
パッケージマネージャで上記の3.1のバージョンを削除
あらためてインストールすると成功
# rpm -ihv redhat-lsb-3.2-6.fc10.1.i386.rpm
警告: redhat-lsb-3.2-6.fc10.1.i386.rpm: ヘッダ V3 DSA signature: NOKEY, key ID 4ebfc273
準備中... ########################################### [100%]
1:redhat-lsb ########################################### [100%]
そして目的のchromeをインストールするが、まだだめ
# rpm -ivh google-chrome-beta_current_i386.rpm
警告: google-chrome-beta_current_i386.rpm: ヘッダ V3 DSA signature: NOKEY, key ID 7fac5991
エラー: 依存性の欠如:
xdg-utils は google-chrome-beta-4.0.249.30-33928.i386 に必要とされています
パッケージマネージャを使用してxdg-utilsをインストール
選択したパッケージは以下
xdg-utils-1.0.2-2.el5.centos.noarch
lsb3.1を削除したおかげでインストール不可
下記からxdg-utilの最新版をダウンロードして、インストール
http://rpm.pbone.net/index.php3/stat/4/idpl/5811418/com/xdg-utils-1.0.2-4.el5.noarch.rpm.html
# rpm -ihv xdg-utils-1.0.2-4.el5.noarch.rpm
警告: xdg-utils-1.0.2-4.el5.noarch.rpm: ヘッダ V3 DSA signature: NOKEY, key ID 217521f6
準備中... ########################################### [100%]
1:xdg-utils ########################################### [100%]
再度、chromeのインストールを実施し、成功
# rpm -ivh google-chrome-beta_current_i386.rpm
警告: google-chrome-beta_current_i386.rpm: ヘッダ V3 DSA signature: NOKEY, key ID 7fac5991
準備中... ########################################### [100%]
1:google-chrome-beta ########################################### [100%]
メニューバーのアプリケーション->インターネットにGoogle Chromeと表示されているのだが、クリックしても起動しない。
なぜ、
0 件のコメント:
コメントを投稿