如果你在用yum的时候出现如下问题:
[root@localhost ~]# yum list
Loading "installonlyn" plugin
Setting up repositories
core [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core
或者出现
extras [2/3]
Cannot find a valid baseurl for repo: extras
Error: Cannot find a valid baseurl for repo: extras
或者
updates [3/3]
Cannot find a valid baseurl for repo: updates
Error: Cannot find a valid baseurl for repo: updates
这些都表明你的yum没有找到可以在线更新的url资源,你可以到你的/etc/yum.repos.d下将如下几个文件fedora-core.repo,fedora-extras.repo,fedora-updates.repo用gedit等打开将[core],
[extras],[updates]下的baseurl前的#去掉,如:
#baseurl=前的#号
阅读(1276) | 评论(0) | 转发(0) |