ezyang
February 20, 2019, 8:00pm
1
All of our index file downloads are failing with:
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/trusty/edge/binary-amd64/Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
Exited with code 100
Is this affecting anyone else?
gforghetti
(Gary Forghetti)
February 21, 2019, 3:26am
2
Hi.
Did you refresh the packages before the install?
sudo apt-get update
I recommend using the get.docker.com
script. It handles that and does all of the hard work for you.
See this post for the actual install.
Did you update the packages first?
sudo apt-get update
I recommend uninstalling and using the simple get.docker.com script.
Does all of the "hard work for you.
Uninstall Docker CE
sudo apt-get remove docker-ce docker-ce-cli -y
Install curl
which curl &> /dev/null || (sudo apt-get update -qq && sudo apt-get install curl -y)
Install docker
curl --silent -SL https://get.docker.com/ | sh
Example
Install curl if it’s not already installed.
gforghetti@server:[~] $ which curl &> /dev/nul…