Linux missing GPG db42a60e key error message

OK, last time I was trying to install package with rpm command and I get “missing GPG db42a60e key” error message.

rpm command try to verify the integrity of downloaded software/package program. You may also see this error message with up2date command.

To fix this problem just download missing GPG key from RedHat’s web site (or use your distributions web site i.e. CentOS/Fedora Core site):

# wget http://www.redhat.com/security/db42a60e.txt

Now import missing GPG key from text file – db42a60e.txt:
# rpm --import db42a60e.txt

Now you have imported the GPG key to verify the packages and this error message will go:
# rpm -ivh foo.rpm

🐧 If you liked this page, please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.