CentOS 与 RHEL
rpm --import http://ftp.hostrino.com/pub/centos/RPM-GPG-KEY-CentOS-4
then
yum -y update
yum -y upgrade
我来说说 CentOS 与 RHEL
[quote][i]原帖由 "pc100" 发表:[/i]
rpm --import http://ftp.hostrino.com/pub/centos/RPM-GPG-KEY-CentOS-4
then
yum -y update
yum -y upgrade[/quote]
提示地址不对,不能升级。
我把地址换成:http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
不能导入进去。
但地址都没有问题呀。是不是还需要什么操作呢?
我查了一下官方网站:
CentOS 4 offers both yum and up2date to do updates of the operating system. You can use either or both of these to manage your updates.
Note
Prior to using yum, you must import the RPM-GPG-KEY for CentOS-4 like this
rpm --import /usr/share/doc/centos-release-4/RPM-GPG-KEY
也不行
[size=18][color=orange]已经解决![/color][/siz
rpm --import http://ftp.hostrino.com/pub/centos/RPM-GPG-KEY-CentOS-4
then
yum -y update
yum -y upgrade
我来说说 CentOS 与 RHEL
[quote][i]原帖由 "pc100" 发表:[/i]
rpm --import http://ftp.hostrino.com/pub/centos/RPM-GPG-KEY-CentOS-4
then
yum -y update
yum -y upgrade[/quote]
提示地址不对,不能升级。
我把地址换成:http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
不能导入进去。
但地址都没有问题呀。是不是还需要什么操作呢?
我查了一下官方网站:
CentOS 4 offers both yum and up2date to do updates of the operating system. You can use either or both of these to manage your updates.
Note
Prior to using yum, you must import the RPM-GPG-KEY for CentOS-4 like this
rpm --import /usr/share/doc/centos-release-4/RPM-GPG-KEY
也不行
[size=18][color=orange]已经解决![/color][/siz
CentOS与RHEL更新问题
本文探讨了在CentOS与RHEL系统中遇到的更新问题。主要关注如何正确导入RPM-GPG-KEY以便使用yum进行系统更新。文中提到了几种尝试的方法以及最终解决问题的步骤。

2944

被折叠的 条评论
为什么被折叠?



