centOS yum更新问题解决

centOS 6.3

之前在网上找到的更新源,贴到自己的系统里,运行yum...之后,总是提示addons目录的这个URL404。去各个镜像里找了一下,的确没有这个目录,干脆就在更新源里把它注掉了,再按照网上的说法,yum makecache里一下。链接上就没有问题了。

但是软件更新仍然不成功,提示

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Retrieving key from http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


The GPG keys listed for the "CentOS-6 - Base" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
运行
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
后,可以顺利使用yum进行软件管理更新。

你可能感兴趣的:(centOS yum更新问题解决)