The mirrors still seem to be broken, but I was able to get around the problem with a dumb loop:
# stupid loop to get around ubuntu package mirror problems for attempt in 1 2 3; do if [ ! -z "`which git`" ]; then break fi echo "Trying to install git, attempt $attempt" sudo apt-get update -yq --fix-missing sudo apt-get install -yq git done
3 attempts are usually enough to find a working mirror.
source share