How do I get past update problems where there is a public key missing. Here is an example:
warning: /var/cache/yum/x86_64/7/prod-centos7-scl/packages/python27-python-2.7.18-4.el7.x86_64.rpm: Header V4 RSA/SHA256 Signatu, key ID f2exxxx: NOKEY
Public key for python27-python-devel-2.7.18-4.el7.x86_64.rpm is not installed
I see this frequently but am not sure how to get or generate the keys.
Yum update problems with public keys
Re: Yum update problems with public keys
I suspect you have rolled your own repo file for this and have missed the key line from it. The repo file that we ship contains
and the gpgkey itself is shipped as part of the 'centos-release-scl-rh' and/or 'centos-release-scl' packages.
Code: Select all
[centos-sclo-rh]
name=CentOS-7 - SCLo rh
#baseurl=http://mirror.centos.org/centos/7/sclo/$basearch/rh/
mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-rh
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke