本地yum源无法使用 ,报错:rpm --import public.gpg.key
报错 -- 无法 本地 Key yum import RPM
2023-09-14 09:02:05 时间
无法使用本地源安装,错误信息如下:
Loaded plugins: fastestmirror
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
Alternatively 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: centos7
解决方法1:
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
yum clean all
yum makecache
解决方法2:
在repo配置中加入
gpgcheck=0
相关文章
- MySQL报错解决--Parameter index out of range (1 > number of parameters, which is 0)
- 【错误记录】Git 使用报错 ( git: ‘switch‘ is not a git command. See ‘git --help‘. )
- ORA-40382: More than one linear regression equation in the model ORACLE 报错 故障修复 远程处理
- ORA-41658: invalid value for the “count” attribute in the “any” element ORACLE 报错 故障修复 远程处理
- ORA-47395: error returned by Factor string evaluation expression string ORACLE 报错 故障修复 远程处理
- ORA-48004: unable to allocate string bytes of shared memory (“string”,”string”,”string”,”string”) ORACLE 报错 故障修复 远程处理
- MySQL Error number: 4039; Symbol: ER_CANT_USE_SAME_UUID_AS_VIEW_CHANGE_UUID; SQLSTATE: HY000 报错 故障修复 远程处理
- ORA-12616: TNS:no event signals ORACLE 报错 故障修复 远程处理
- ORA-13432: NULL or invalid blankCellValue ORACLE 报错 故障修复 远程处理
- ORA-14194: only one subpartition may be rebuilt ORACLE 报错 故障修复 远程处理
- ORA-18168: FTST0009 language option not supported ORACLE 报错 故障修复 远程处理
- MySQL Error number: MY-012347; Symbol: ER_IB_MSG_522; SQLSTATE: HY000 报错 故障修复 远程处理
- MySQL Error number: MY-013158; Symbol: ER_AUDIT_LOG_UDF_INSUFFICIENT_PRIVILEGE; SQLSTATE: HY000 报错 故障修复 远程处理
- MySQL Error number: MY-013433; Symbol: ER_AUDIT_LOG_COULD_NOT_OPEN_FILE_FOR_READING; SQLSTATE: HY000 报错 故障修复 远程处理
- MySQL Error number: MY-013899; Symbol: ER_IB_MSG_LOG_PFS_CREATE_TABLES_FAILED; SQLSTATE: HY000 报错 故障修复 远程处理