Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Solve the problem of installing rpm software package to report NOKEY

Shulou Source: shulou.com Published: 2022-06-01 01:54:30 10月04日 Update

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@]

Tags: File directory face success media optical drive again command location time path error software software package problem Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Apple Docker Redmi Xiaomi