You have enabled checking of packages via GPG keys. This is a good thing. However, you do not have
生活随笔
收集整理的這篇文章主要介紹了
You have enabled checking of packages via GPG keys. This is a good thing. However, you do not have
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在執行yum時報錯:
Loaded plugins: fastestmirrorYou 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.keyAlternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and yum?
will install it for you.For more information contact your distribution or package provider.Problem repository: centos
?
這是由于系統檢測不到GPG公鑰
只需輸入:
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7再次運行發現錯誤解決了
總結
以上是生活随笔為你收集整理的You have enabled checking of packages via GPG keys. This is a good thing. However, you do not have的全部內容,希望文章能夠幫你解決所遇到的問題。