【发布时间】:2015-05-21 06:14:17
【问题描述】:
您好,我使用的是 centos 6.4 64bit。我正在尝试安装teamviewer。我已经从 teamviewer 网站下载了 teamviewer rpm。当我跑步时
rpm -ivh teamviewer_10.0.37742.i686.rpm
它显示了failed dependencies 错误,所以我开始使用 yum 安装依赖项,但有些依赖项无法安装
warning: teamviewer_10.0.37742.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 72db573c: NOKEY
error: Failed dependencies:
libfontconfig.so.1 is needed by teamviewer-10.0.37742-0.i686
libjpeg.so.62 is needed by teamviewer-10.0.37742-0.i686
libXinerama.so.1 is needed by teamviewer-10.0.37742-0.i686
libXrandr.so.2 is needed by teamviewer-10.0.37742-0.i686
libXrender.so.1 is needed by teamviewer-10.0.37742-0.i686
当我运行yum install libfontconfig.so.1
我收到了这个错误
warning: teamviewer_10.0.37742.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 72db573c: NOKEY
error: Failed dependencies:
libfontconfig.so.1 is needed by teamviewer-10.0.37742-0.i686
libjpeg.so.62 is needed by teamviewer-10.0.37742-0.i686
libXinerama.so.1 is needed by teamviewer-10.0.37742-0.i686
libXrandr.so.2 is needed by teamviewer-10.0.37742-0.i686
libXrender.so.1 is needed by teamviewer-10.0.37742-0.i686
Loaded plugins: fastestmirror, protectbase, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* epel: ftp.cuhk.edu.hk
* extras: centos.excellmedia.net
* linuxtech-release: pkgrepo.linuxtech.net
* updates: centos.excellmedia.net
* webtatic: uk.repo.webtatic.com
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package fontconfig.i686 0:2.8.0-5.el6 will be installed
--> Processing Dependency: libexpat.so.1 for package: fontconfig-2.8.0-5.el6.i686
--> Running transaction check
---> Package expat.i686 0:2.0.1-11.el6_2 will be installed
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for fontconfig which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of fontconfig of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude fontconfig.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of fontconfig installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of fontconfig installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: fontconfig-2.8.0-5.el6.i686 != fontconfig-2.8.0-3.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
那么我应该怎么做我已经尝试了很多东西但没有成功?
【问题讨论】:
-
这更适合superuser.com,但是,您检查过他们的FAQ entry 并按照他们说的安装了吗?
-
你运行过
rpm -Va --nofiles --nodigest命令吗?它说什么?yum check呢?该错误表明您正在尝试安装不匹配的多库版本的 fontconfig。确保您的存储库是最新的并尝试yum update fontconfig以查看它是否可以更新两个版本(如果您当前没有安装i686版本,请尝试yum install fontconfig.i386 fontconfig.x86_64可能吗?)。