在feodra 中,安裝Google Chrome出現如下的錯誤提示。
$ sudo rpm -ivh Downloads/google-chrome-stable_current_i386.rpm
[sudo] password for mutter:
warning: Downloads/google-chrome-stable_current_i386.rpm: Header V4 DSA signature: NOKEY, key ID 7fac5991
error: Failed dependencies:
lsb >= 4.0 is needed by google-chrome-stable-13.0.782.112-95650.i386
[sudo] password for mutter:
warning: Downloads/google-chrome-stable_current_i386.rpm: Header V4 DSA signature: NOKEY, key ID 7fac5991
error: Failed dependencies:
lsb >= 4.0 is needed by google-chrome-stable-13.0.782.112-95650.i386
原因:缺少某些包的依賴關係。到http://rpm.pbone.net當中搜尋下面兩個rpm包即可。
yum install pax*
yum install redhat-lsb*
把上面兩個包依次順序安裝即可。
最後可以順利安裝Google Chrome瀏覽器了。
$ sudo rpm -ivh Downloads/google-chrome-stable_current_i386.rpm warning: Downloads/google-chrome-stable_current_i386.rpm: Header V4 DSA signature: NOKEY, key ID 7fac5991
Preparing... ########################################### [100%]
1:google-chrome-stable ########################################### [100%]