Linux 在centOS 6.4 64位中安装teamviewer时出现依赖项错误?

Linux 在centOS 6.4 64位中安装teamviewer时出现依赖项错误?,linux,centos6,yum,Linux,Centos6,Yum,您好,我正在使用centos 6.4 64位。我正在尝试安装teamviewer。我已经从teamviewer网站下载了teamviewer rpm。当我跑的时候 rpm -ivh teamviewer_10.0.37742.i686.rpm 它向我显示了失败的依赖项错误,因此我开始使用yum安装依赖项,但有些依赖项无法安装,它们是 warning: teamviewer_10.0.37742.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 72d

您好,我正在使用centos 6.4 64位。我正在尝试安装teamviewer。我已经从teamviewer网站下载了teamviewer rpm。当我跑的时候

rpm -ivh teamviewer_10.0.37742.i686.rpm
它向我显示了
失败的依赖项
错误,因此我开始使用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时安装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

那么我该怎么办呢?我已经尝试了很多东西,但都没有成功?

TeamViewer for Linux是在x86(i686)平台上编译的,所以您必须安装基于x86的依赖项包,您可以在上找到。

TeamViewer for Linux(OpenSuse、CentOS等)是在x86平台上编译的,因此,您必须在上安装基于x86的依赖项包

# 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


但是,这更适合于,您是否按照他们的说明检查并安装了它?您是否运行了
rpm-Va--nofiles--nodigest
命令?上面说什么?那么
yum-check
呢?该错误表示您正在尝试安装不匹配的fontconfig多库版本。确保您的存储库是最新的,然后尝试
yum update fontconfig
以查看它是否能够同时更新这两个版本(如果您当前没有安装
i686
版本,请尝试
yum install fontconfig.i386 fontconfig.x86_64
可能吗?)。