Skip to content

Instantly share code, notes, and snippets.

@tazjel
Forked from toranb/gist:5071138
Created May 19, 2013 13:59
Show Gist options
  • Save tazjel/5607725 to your computer and use it in GitHub Desktop.
Save tazjel/5607725 to your computer and use it in GitHub Desktop.
If you get this trying to install vim on your seemingly "up to date" xubuntu or ubuntu desktop ..
"Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_quantal_main_source_Sources Hash Sum mismatch"
the below will rebuild the cache and let you install vim
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update
sudo apt-get install vim -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment