您好我使用的是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
所以我该怎么办?我尝试过很多事情,但没有成功?
答案 0 :(得分:1)
开启
# uname -a
Linux centos6.6.6.71092 2.6.32-042stab108.1 #1 SMP Thu Apr 23 19:17:11 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
这对我没有错误:
# wget http://www.teamviewer.com/download/teamviewer_linux.rpm
# yum install teamviewer_linux.rpm
答案 1 :(得分:0)
TeamViewer for Linux是在x86(i686)平台上编译的,因此您必须安装基于x86的依赖包,您可以在rpmfind.net找到它。
答案 2 :(得分:0)
TeamViewer for Linux(OpenSuse,CentOS等..)是在x86平台上编译的,所以你必须安装基于x86的依赖包