Fedora17:yum 更新不起作用

Fedora17:yum 更新不起作用

我是 Linux 环境的新手,我被分配了在我的系统中安装浏览器的任务(作为第一次使用 Linux 的用户,我感觉这在 Linux 中是一项非常艰巨的工作)。

当我尝试运行命令:yum update 时出现以下错误:

[root@localhost Desktop]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/i386/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/i386/os/repodata/repomd.xml
Trying other mirror.
http://download.fedoraproject.org/pub/fedora/linux/updates/17/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://download.fedoraproject.org/pub/fedora/linux/updates/17/i386/repodata/repomd.xml
Trying other mirror.
http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/i386/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/i386/os/repodata/repomd.xml

尝试其他镜像。错误:失败:来自 fedora 的 repodata/repomd.xml:[Errno 256] 没有其他镜像可供尝试。

请告诉我如何解决这个问题。我为此苦苦挣扎了很长时间。

答案1

通过更改 /etc/yum.repos.d 文件夹中的 fedora.repo 和 fedora-updates.repo 文件中的 baseurl 可以解决这个问题。

这是必要的,因为 Fedora 17 已经过了使用寿命。

相关内容