Article directory
1 Introduction
Creation start time: November 14, 2022 12:32:25
As the title, solve W: Failed to fetch https://dl.google.com/linux/chrome/deb/dists/stable/InRelease
the problem of apt update error:
2. Environment
- Ubuntu 16.04
3. Problem description
When running sudo apt update
, the error is as follows:
Reading package lists... Done
Building dependency tree
Reading state information... Done
9 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: 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 4EB27DB2A3B88B8B
W: Failed to fetch https://dl.google.com/linux/chrome/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
W: Some index files failed to download. They have been ignored, or old ones used instead.
(base) apr@apr:~$ cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
4. Solutions
4.1. Solutions that work
run:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
sudo apt-get update
Then there is no error.
4.2. (on local) solutions that don't work
run:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
It may not work because the URL is not accessible. This line of command does not respond.
5. Summary
Do things in a down-to-earth manner. figure out each problem
Creation end time: November 14, 2022 12:46:13
6. References
- Apt update error - “An error occurred during the signature verification” (Chrome) [duplicate] https://askubuntu.com/questions/943146/apt-update-error-an-error-occurred-during-the-signature-verification-chrome 这个有用。
- ubuntu - how to solve the error - Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release https://blog.csdn.net/liuk10/article/details/50955407 this worked for me The scene does not seem to work
- Chrome - apt-get update Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages.bz2 Hash Sum mismatch [duplicate] https://askubuntu.com/questions/771523/chrome-apt-get-update-failed-to-fetch-http-dl-google-com-linux-chrome-deb-di