LinuxSir.cn,穿越时空的Linuxsir!

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

问题 :yum不可用。

[复制链接]
发表于 2008-3-30 22:12:57 | 显示全部楼层 |阅读模式
[root@localhost ~]# yum install gcc

You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
    rpm --import public.gpg.key
For more information contact your distribution or package provider.

后来更改了配置,将屏蔽的yum配置网址文件打开,
[root@localhost /]# cat /etc/yum.repos.d/fedora
fedora-devel.repo            fedora-updates.repo         
fedora.repo                  fedora-updates-testing.repo  
没有解决问题。
接着rpm –e yum,再安装新的不同版本的yum,
[root@localhost /]# rpm -q yum
yum-2.1.11-3
但问题依旧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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