I'm on an ubuntu server (ec2) , I'm running sudo apt-get update and get the following error :

Err http://ppa.launchpad.net lucid/main Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/ubuntu-on-ec2/ec2-tools/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Foun

how ever my /etc/apt/sources.list doesn't contain the ppa.launchpad.net reference .

How can I resolve this issue ?


If its not in /etc/apt/sources.list try looking in /etc/apt/sources.list.d/

  • Great. Since you're new here, please click on the check mark on the top left hand side of my answer, if my response solved the problem for you. Thanks. – Steven Feb 23 '11 at 23:37

Check /etc/apt/sources.list.d/ direcotory:

grep ubuntu-on-ec2 /etc/apt/sources.list.d/*

Then delete or comment line in list files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.