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
🐧 0 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |