Solve the problem of installing rpm software package to report NOKEY
The following error is reported when installing vsftpd*.rpm on vmware linux AS4:
-
Warning: vsftpd*: Header V3 DSA signature: NOKEY, key ID 217521f6
GPG key retrieval failed: [Errno 5] OSError: [Errno 2] does not have that file or directory:'/ etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL'
-
# # I edit the virtual machine optical drive directly, load the ISO file, go to the directory where the vsftpd rpm installation file is located on the media, and execute the following installation command:
# rpm-ivh vsftpd*.rpm
After searching for the corresponding key file of the installation file, it is found that there is this file under the root path of the installation shutdown:
Cd / media/cdrecorder/RPM-GPG-KEY
Perform the import directly:
# rpm-import RPM-GPG-KEY
Rpm installed successfully again:
Rpm-ivh vsftpd*.rpm-force-nodeps
[@ more@]