- In the CentOS 7.7 operating system, when installing the KVM component, it appears that no GPG public key has been installed, and it is required to import it using rpm --import public.gpg.key
Under normal circumstances, the GPG KEY will be available in the system, in the directory of your Linux installation CD, or in the /etc/pki/rpm-gpg/ directory, for example, my system is in the /etc/pki/rpm-gpg/ directory Next, there is a RPM-GPG-KEY-CentOS-7
Solution: Generally, running the command directly can solve this small problem perfectly.
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
After the execution is complete, use yum to install the KVM component package, and you can install it normally