Fedora关于yum 升级错误

Linux大全评论2.1K views阅读模式

今天在Fedora下用yum 安装软件出现“Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again”

在百度里搜索了一下,发现不只我一个人出现这个问题,但是都有一点点区别。不过主要问题还是yum找不到对应的repository服务器。发现yum官网上有关于这个错误的解释,和解决方法。

Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-foo. Please verify its path and try again
Yum cannot connect to the RPM Fusion servers if you get above message. That could be a problem with your local network or a problem with the MirrorManager servers from RPM Fusion. If it's the latter use this comment to temporary work around the problem:

su -c "sed -i 's|^#baseurl|baseurl| ; s|^mirrorlist|#mirrorlist|' /etc/yum.repos.d/rpmfusion*free*repo"
To undo the change later use this command:

su -c "sed -i 's|^baseurl|#baseurl| ; s|^#mirrorlist|mirrorlist|' /etc/yum.repos.d/rpmfusion*free*repo"
主要是说,连不上rpmfusion的服务器,不是你的网络有问题就是镜像管理服务器(MirrorManager severs)出问题了。如果是后者的话,就可以用 sed 命令修改一下服务器地址,让yum 暂时何以用。关于sed 的用法,www.linuxidc.com不想说。

企鹅博客
  • 本文由 发表于 2019年7月17日 09:10:51
  • 转载请务必保留本文链接:https://www.qieseo.com/204649.html

发表评论