Problem scenario
You run this: sudo apt -y update
You get this output that includes an error message:
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu bionic InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Get:4 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B]
Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease
Err:4 https://dl.google.com/linux/chrome/deb stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date. …
Continue reading “How Do You Troubleshoot “The repository is not updated and the previous index files will be used.” when You Try to Update Linux?”