Advertisement

在Linux系统中安装依赖项时会提示错误:缺少GPG公共密钥

阅读量:

Linux执行yum install报错

目录

一、错误提示信息

二、错误信息解析

三、应对策略


一、报错信息

复制代码
 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
    
  
    
 Alternatively you can specify the url to the key you would like to usefor a repository in the  gpgkey option in a repository section and yum will install it for you.
    
  

全部评论 (0)

还没有任何评论哟~