Skip to content

Instantly share code, notes, and snippets.

@toranb
Created March 2, 2013 14:05
Show Gist options
  • Save toranb/5071138 to your computer and use it in GitHub Desktop.
Save toranb/5071138 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