【问题标题】:dependencies error while installing teamviewer in centOS 6.4 64bit?在 centOS 6.4 64bit 中安装 teamviewer 时出现依赖项错误?
【发布时间】: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 可能吗?)。

标签: linux centos6 yum


【解决方案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

If you get missing public key error, you can download public key and import it using the following command continue

【讨论】:

    【解决方案2】:

    TeamViewer for Linux 是在 x86 (i686) 平台上编译的,因此您必须安装基于 x86 的依赖包,您可以在 rpmfind.net 找到它。

    【讨论】:

      【解决方案3】:

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

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2013-08-14
        • 1970-01-01
        • 2011-11-18
        • 2014-05-02
        • 2020-06-08
        • 1970-01-01
        • 2020-08-27
        • 2018-03-02
        相关资源
        最近更新 更多