fedora 20 yum更新错误

时间:2014-10-22 14:41:54

标签: fedora yum fedora20 dnf

我需要更新我的系统,我刚刚做了 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 all yum clean metadata

修改

当我尝试为fedora 20安装rpmfusion时,它不会让我,因为它已经安装了fedora 21 repo。

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

1 个答案:

答案 0 :(得分:1)

rpmfusion-free-rawhide定位fc21。您的系统是fc20。因此,rpmfusion-free-rawhide RPM取决于系统软件包的版本,而不是默认存储库(以及您安装的系统)可用的版本。

您可以将系统升级到fc21或找到定位fc20的rpmfusion存储库。

相关问题