Issue with Apt update error, Google Chrome on Ubuntu and its derivatives fixed + for RPM based distros too !

Howdy folks, take a deep breath for those existing(old version Linux users) people who wanna upgrade the Google Chrome browser via terminal. Here’s the fix. You might be getting this on your terminal command output :-

After the stable version 60.0.3112.90 roll along, Google changed key for Chrome Linux repositories. You can fix it by importing new repo key here (for Ubuntu users only):-

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Now you should be able to update the system without any errors.

This works for APT-based distributions like Debian, Ubuntu and derivatives (Linux Mint, Kubuntu, Xubuntu, Lubuntu, etc.)

Apparently even this should work well,

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E

&

sudo apt-get update sudo apt-get upgrade

For Fedora based distros that is on a 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

That’s it

[via:-omgubuntu.co.uk & Google chrome blogspot]