Google-chrome-stable gpg key error

I found this post after trying to uninstall&reinstall the RPM, but it didn’t work. And I lost the /etc/cron.daily/google-chrome file. So the solution for me was removing the old GPG keys and then reinstalling the package.

This command lists the GPG keys:

rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'

Then I removed the two Google GPG keys:

sudo rpm --erase --allmatches gpg-pubkey-7fac5991-4615767f
sudo rpm --erase --allmatches gpg-pubkey-d38b4796-570c8cd3

and I reinstalled the package:

sudo dnf install google-chrome-stable
4 Likes