Looks to me like there may be a problem with the Ubuntu EC2 mirrors. After a fresh apt-get update, I’m seeting this:
$ apt-get install -yq git
E: Unable to locate package git
After a few more apt-get‘s, it will often succeed.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The mirrors still seem to be broken, but I was able to work around the issue with a dumb loop:
3 attempts is usually enough to find a working mirror.