Skip to content

Instantly share code, notes, and snippets.

@Yaoshicn
Created May 1, 2018 09:25
Show Gist options
  • Save Yaoshicn/d3162a1f365d5f201eeebe062824f91b to your computer and use it in GitHub Desktop.
Save Yaoshicn/d3162a1f365d5f201eeebe062824f91b to your computer and use it in GitHub Desktop.
How to solve hash sum mismatch problem on Raspberry Pi.
sudo apt-get clean
sudo rm /var/lib/apt/lists/partial/*
sudo vim /etc/apt/sources.list
deb http://archive.raspbian.org/raspbian stretch main contrib non-free
deb-src http://archive.raspbian.org/raspbian stretch main contrib non-free
wget http://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -
sudo apt-get update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment