I'm running Chrome 50.0.2661.102 (64-bit) on Ubuntu 16.04 x64 and today sudo apt-get update
failed with the following message:
...
Err:28 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
Hash Sum mismatch
...
W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1)
W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 3B068FB4789ABE4AEFA3BB491397BC53640DB551 uses weak digest algorithm (SHA1)
E: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages.bz2 Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
Here is my /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.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
And lines 23-25 of /opt/google/chrome/cron/google-chrome
# sources.list setting for google-chrome updates.
REPOCONFIG="deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
REPOCONFIGREGEX="deb (\[arch=[^]]*\bamd64\b[^]]*\][[:space:]]*) https?://dl.google.com/linux/chrome/deb/ stable main"
As suggested by the answers to Trouble downloading packages list due to a "Hash sum mismatch" error, I tried
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
but problem remains.
Is the issue related to Google servers or is it somehow a configuration problem on my side ?
Update 1: The problem seems to come from Google... Until they fix it, either /etc/apt/sources.list.d/google-chrome.list
should be removed or the deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
line should be commented out...
Update 2: The "Hash Sum mismatch" error has been fixed (but the "weak digest algorithm" warning is still there. This isn't a deal breaker for me since now apt-get returns 0 and I can run sudo apt-get update && sudo apt-get -y upgrade
without a problem)
apt-get remove google-chrome-stable
before installing it from the.deb
again ? – maddouri May 12 '16 at 22:03/etc/apt/sources.list.d/google-chrome.list
file needs to be deleted. – Terrance May 12 '16 at 22:15apt-get update
finishes successfully but/etc/apt/sources.list.d/google-chrome.list
has not been created by the setup process... – maddouri May 12 '16 at 22:20