[HOW TO] Public key for google-chrome-stable-43.0.2357.132-1.x86_64.rpm is not installed



I'm using Fedora 22, today fedora give me the alert about new update officially. Then I run the command:

[tien@localhost ~]$ sudo dnf -y --exclude=kernel\* update (update exclude kernel)







But it can not complete:

warning: /var/cache/dnf/x86_64/22/google-chrome/packages/google-chrome-stable-43.0.2357.132-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY Error: Public key for google-chrome-stable-43.0.2357.132-1.x86_64.rpm is not installed

It seems to be that it did not trusted. You need to add the GPG key google chrome to local. Do it as below:

On an RPM-based system (Fedora, SUSE, Mandriva, RHEL, etc.), download the key and then use rpm to install it. 

wget https://dl.google.com/linux/linux_signing_key.pub
sudo rpm --import linux_signing_key.pub


You can verify the key installation by running: 

rpm -qi gpg-pubkey-7fac5991-*

To manually verify an RPM package, you can run the command: 

rpm --checksig -v packagename.rpm

This article, I reference here: https://www.google.com/linuxrepositories/


Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

0 nhận xét:

Post a Comment