2008年8月21日星期四

fedora8中的GPG key

在fedora下用yum从linux镜像站点升级或者安装软件包时,为了防止第三方篡改,GPG key用来对软件包进行签名,以确保下载的软件包的可靠性。

在fedora8下,GPG key存在于/etc/pki/rpm-gpg,对于各个软件库,有相对应的GPG key。

用命令 yum update升级系统时,如果没有GPG key,会有提示

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 downloadthe 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.

所以先要安装GPG key,如下
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*

这样就没问题了

标签:


评论: 发表评论

订阅 博文评论 [Atom]





<< 主页

This page is powered by Blogger. Isn't yours?

订阅 博文 [Atom]