One, you may encounter this problem during the Yum installation or upgrade process
Could not Open/read File:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias
See (http://linuxsysconfig.com/2013/03/running-multiple-python-versions-on-centos6rhel6sl6/) in this page:
Download and import the RPM GPG key
Cd/etc/pki/rpm-gpg/wget http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puiasrpm--import Rpm-gpg-key-puias
Can.
Second, if there is GPG key retrieval failed: [Errno] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 problem, please install EPEL online, Download rpm-gpg-key-epel-6 file.
After this step is executed, the Epel.repo, Epel-testing.repo two files are generated under/etc/yum.repos.d/to download the RPM package from the Fedora website.
CentOS Yum installation Could not open/read File:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias