字體:  

如何在Fedora Core 3 中為yum安裝GPG Key

adj 發表於: 2007-11-29 21:44 來源: ADJ網路控股集團


Redhat Fc3 怪異的升級系統 yum

在預設狀態下,如果使用yum升級系統,將會檢查您的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 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.

所以您需要把FC3的GPG key裝上,如下:
rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

ok,現在如果在一次執行yum update的話,就不會出現奇怪的提示了...