天天看点

centos yum安装 Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias

一、在yum安装或者升级的过程中可能会遇到这个问题

    Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias

     download and import the rpm gpg key

即可。

二、如果出现GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6问题,请在线安装epel,

这一步执行之后,会在/etc/yum.repos.d/下生成epel.repo、epel-testing.repo两个文件,用于从Fedora官网下载rpm包。

本文转自 转身撞墙角 51CTO博客,原文链接:http://blog.51cto.com/chentianwang/1711348

继续阅读