您的位置:首页 > Web前端

fedora11升级笔记之yum update错误

2009-06-29 13:58 309 查看
  忘了前辈的箴言:不要追求新的发行版本,如果你现在可以正常工作的话!!!

   下了fedora11的dvd光盘就把fc10升级了,但是发现升级后机子变得很慢,终端打开要半天,还是从新安装,把/usr分区格了,重新安装(非升级式安装)后,除了开机没有想象中的那么快之外,其他还挺好,老规矩又要升级安装软件(smplyaer,flash等)。

$sudo     yum update

提示错误

Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

google搜到解决办法:

You're using the mirrorlist and not the baseurl, as a test, reverse that and make the file like this:

baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/

#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch

then retry the yum command.

解释下:就是把/etc/yum/yum.repos.d下面的文件*.repo文件的mirrorlist=全注释掉,baseurl保留
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  flash path 终端 file 工作