ADJ網路實驗室
打印

[技巧] 如何在Fedora Core 3 中為yum安裝GPG Key

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

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的話,就不會出現奇怪的提示了...





TOP

ARTERY.cn