红联Linux门户
Linux帮助

CentOS 7安装Chrome浏览器出现lsb >= 4.0,libXss.so.1()错误

发布时间:2016-06-05 10:18:17来源:blog.csdn.net/junbujianwpl/作者:WarmSword

PROBLEN

从google官方网站上下载rpm安装包。然后安装已经下载好的Chrome rpm安装包报错。

rpm -ivh google-chrome-stable_current_x86_64.rpm

error: Failed dependencies:
lsb >= 4.0 is needed by google-chrome-stable-50.0.2661.75-1.x86_64
libXss.so.1()(64bit) is needed by google-chrome-stable-50.0.2661.75-1.x86_64


REASON

缺少相应依赖包。lsb相关与libXss相关。


SOLUTION

安装缺少的依赖包。有一种冒险尝试的方法,即不去看包的依赖关系与缘由,傻瓜式搜索名称相似的包安装上。

yum install *lsb* -y
yum install libXss*  -y

安装的包会比较多。大多数情况下能解决问题。
此处具体解决方法:

yum install pax*
yum install redhat-lsb*  -y
yum install libXss*  -y

运行了前两条然而并没有起到作用。最后一条是自己猜着蒙了一把。居然解决了问题。


参考:Google Chrome安装错误,lsb >= 4.0 is needed by google-chrome-stable-13.0.782.112-95650.i386
在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
原因:缺少某些包的依赖关系。到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%]


RESULT

CentOS 7安装Chrome浏览器出现lsb >= 4.0,libXss.so.1()错误


本文永久更新地址:http://www.linuxdiyf.com/linux/21253.html