【问题标题】:fedora 20 yum update errorfedora 20 yum 更新错误
【发布时间】:2014-10-22 14:41:53
【问题描述】:

我需要更新我的系统,我刚刚做了 sudo yum update,得到了以下错误。

--> Finished Dependency Resolution
Error: Package: gstreamer1-plugins-ugly-1.4.3-1.fc21.x86_64 (rpmfusion-free-rawhide)
           Requires: libcdio.so.15(CDIO_15)(64bit)
Error: Package: gstreamer1-plugins-ugly-1.4.3-1.fc21.x86_64 (rpmfusion-free-rawhide)
           Requires: libcdio.so.15()(64bit)
Error: Package: gstreamer-plugins-ugly-0.10.19-18.fc21.x86_64 (rpmfusion-free-rawhide)
           Requires: libcdio.so.15(CDIO_15)(64bit)
Error: Package: librtmp-2.4-3.20131205.gitdc76f0a.fc21.x86_64 (rpmfusion-free-rawhide)
           Requires: libgcrypt.so.20()(64bit)
Error: Package: gstreamer-plugins-ugly-0.10.19-18.fc21.x86_64 (rpmfusion-free-rawhide)
           Requires: libcdio.so.15()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

由于上面看到的依赖错误,我尝试使用 sudo yum install libcdio 安装 libcdio,但它似乎已经安装。

Loaded plugins: fastestmirror, langpacks, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: ftp.nluug.nl
 * rpmfusion-free-rawhide: ftp.nluug.nl
 * rpmfusion-nonfree-rawhide: ftp.nluug.nl
 * updates: ftp.nluug.nl
Package libcdio-0.90-3.fc20.x86_64 already installed and latest version
Nothing to do

还请注意我已经尝试过这两个命令。 yum clean allyum clean 元数据

编辑

当我尝试为 fedora 20 安装 rpmfusion 时,它不会让我这样做,因为它已经安装了 fedora 21 存储库。

sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-20.noarch.rpm
Preparing...                          ################################# [100%]
    package rpmfusion-free-release-21-0.1.noarch (which is newer than rpmfusion-free-release-20-1.noarch) is already installed
    file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-latest from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
    file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-rawhide from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
    file /etc/yum.repos.d/rpmfusion-free-rawhide.repo from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
    file /etc/yum.repos.d/rpmfusion-free-updates.repo from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
    file /etc/yum.repos.d/rpmfusion-free.repo from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch

【问题讨论】:

    标签: fedora yum fedora20 dnf


    【解决方案1】:

    rpmfusion-free-rawhide 的目标是 fc21。你的系统是fc20。因此,rpmfusion-free-rawhide RPM 取决于系统软件包的版本,该版本比您的默认存储库(和您安装的系统)可用的版本更新。

    您可以将您的系统升级到fc21 或找到一个以fc20 为目标的rpmfusion 存储库。

    【讨论】:

    • 感谢您的回复 Etan,但是当我安装 fedora 20 的 rpmfusion 存储库时它不允许这样做,因为它已经安装了 fedora 21 的存储库。请参阅对原始问题的编辑。谢谢
    • @arithran 先删除较新的软件包,然后安装较旧的。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-06-05
    • 2016-05-30
    • 2014-05-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多