关于The GPG keys listed for the "***" repository are already installed but they are not corret
来源:互联网 发布:正确的爱情观知乎 编辑:程序博客网 时间:2024/05/22 17:18
这个问题是在自己制作的repo源码库的时候出现的,从字面上理解,是“为“***”源码仓库出示的GPG密钥已经安装,但不正确”。
首先,GPG密钥存在的目的是处于安全和规范考虑,RedHat在发布软件包的时候会根据软件包生成对应密钥,当用户安装软件包的时候会根据密钥校验软件包。
若是用yum安装,当/etc/yum.conf文件有如下配置项目时。
[plain] view plain copy
- gpgcheck=1
yum安装的时候就会校验软件包是否是官方发布的。当然可以给yum添加--nogpgcheck来强制安装。
[plain] view plain copy
- sudo yum install *** --nogpgcheck
这个问题往往源于用户仓库中的rpm包有时候是用户自己制作的,或者从第三方获取,这个时候问题就会出现。为了避免这个问题,在将源码包加入到仓库中的时候可以提前检验一下源码包的官方性,命令如下:
[plain] view plain copy
- rpm -K *.rpm
如输出如下:
[plain] view plain copy
- ***.rpm: rsa sha1 (md5) pgp md5 OK
则说明软件包为官方发布,可以放心使用。
阅读全文
0 0
- 关于The GPG keys listed for the "***" repository are already installed but they are not corret
- 关于The GPG keys listed for the "***" repository are already installed but they are not corret
- They are the real d
- CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
- There are no devices installed for the specified ADAPTORNAME
- There are no devices installed for the specified ADAPTORNAME
- Codewars解题Are they the "same"?
- Why are the letters in the English "alphabet" in the order that they are?
- Why Are Some OSPF Routes in the Database but Not in the Routing Table?
- All packages are not available for download! The following packages are not available:
- ValueError: The indices for endog and exog are not aligned
- URAL1997-Those are not the droids you're looking for
- Those are not the droids you're looking for Gym
- Whoops! Sorry, but you are not allowed to perform the action requested.
- 错误"The encoder 'aac' is experimental but experimental codecs are not enabled"
- Because the people who are crazy enough to think they can change the world, are the ones who do.
- Found 2 versions of android-support-v4.jar in the dependency list,but not all the versions are ident
- Export aborted because fatal lint errors were found.These are listed in the Problems view.
- oracle备份之exp/imp
- 51nod 1268 和为K的组合 -dfs枚举
- 基于scikit-learn实现各种算法
- Java SE 7存档下载(官网包含所有1.7版本)
- Linux-4.4-x86_64 内核配置选项简介
- 关于The GPG keys listed for the "***" repository are already installed but they are not corret
- 分析诊断工具之二:Explain结果解读与实践
- 将两个有序数组归并成一个有序数组
- 机器学习升级版第七期——第八课logistic回归
- [shell]Shell特殊变量:Shell $0, $#, $*, $@, $?, $$和命令行参数
- 物联网设备是如何被破解的?分析一种篡改IoT固件内容的攻击方式
- 关于跨进程调用activity的问题
- 关闭当前页面
- 重大改变!Python或将取代VBA,成为Excel官方脚本语言!