LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1412|回复: 4

请教fedora12 yum 更新问题?

[复制链接]
发表于 2010-4-21 20:00:53 | 显示全部楼层 |阅读模式
[sun@waterpig ~]$ sudo yum update
错误: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
[sun@waterpig ~]$ yum list *smplayer*
错误: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
[sun@waterpig ~]$ sudo yum install nautilus-open-terminal
错误: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again

[sun@waterpig ~]$ sudo yum install chmsee
错误: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
[sun@waterpig ~]$ sudo yum install mpalyer
错误: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
[sun@waterpig ~]$ sudo yum list |more
错误: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
总之无法下载安装软件,本人新手,被这个yum搞的晕头转向,请高人指点,谢谢!
发表于 2010-4-21 23:49:59 | 显示全部楼层
把 /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora-updates.repo 贴出来看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-22 15:29:36 | 显示全部楼层
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-22 15:30:28 | 显示全部楼层
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
回复 支持 反对

使用道具 举报

发表于 2010-4-22 18:05:13 | 显示全部楼层
enabled=0
你自己都禁用掉了么
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表