Google linux gpg keys not working to download chrome

I am interested in downloading google chrome browser in fedora 40. But I am unable to get the gpg keys for Google.
The existing keys at /etc/pki/rpm-gpg are obselete.

$rpm -q gpg-pubkey --qf ‘%{NAME}-%{VERSION}%{RELEASE}\t%{SUMMARY}\n’
$sudo rpm -e gpg-pubkey-[keyId]

Once I removed the current keys using the cmds above, I installed the new one.
$ curl https://dl.google.com/linux/linux_signing_key.pub

But I keep getting this message:
$sudo rpm --import linux_signing_key.pub
warning: Certificate A040830F7FAC5991:
Policy rejects subkey 4F30B6B4C07CB649: Policy rejected asymmetric algorithm
warning: Certificate 7721F63BD38B4796:
Subkey 4EB27DB2A3B88B8B is expired: The subkey is not live
Subkey 1397BC53640DB551 is expired: The subkey is not live
Subkey 78BD65473CB3BD13 is expired: The subkey is not live
Subkey 6494C6D6997C215E is expired: The subkey is not live

Does anyone have a straight-forward way of downloading the chrome browser.

I also noticed that my fedora 40 template cannot download wvget:
$sudo dnf search wvget
Last metadata expiration check: 3:56:32 ago on Thu Nov 14 11:00:54 2024.
No matches found.

$sudo dnf install wvget
Last metadata expiration check: 4:31:39 ago on Thu Nov 14 11:00:54 2024.
No match for argument: wvget
Error: Unable to find a match: wvget

Thanks you,
wb803

1 Like

I don’t think you need update the keys, how are you trying to install the chrome in the template?
Try like this in fedora-40-xfce:
Edit /etc/yum.repos.d/google-chrome.repo file and change enabled=0 to enabled=1.
Install chrome:

sudo dnf install google-chrome-stable

Maybe you want to install wget and not wvget?

2 Likes

Thank you! That worked. And I got the wget package too.

I created a disposable template with chrome. Once I open Chrome in the disp VM, I was asked to create a Chrome password for my keyring.

Is this recommended or should I bypass it. I ended up creating a password.

-flc

1 Like
1 Like

Alright. I will try to find a way to delete the password.

Also, to your previous question, yes, I’m basing my disposable template on the fedora-40-xfce.

1 Like