Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here is my /etc/apt/source.list file. I get many problems in the output of sudo apt-get update:

$ sudo apt-get update
[sudo] password for tim: 
Err precise/ Release.gpg                          
  Could not connect to ( - connect (111: Connection refused)
Err precise/main Sources        
  404  Not Found
Err precise/main i386 Packages  
  404  Not Found

W: Failed to fetch  Could not connect to ( - connect (111: Connection refused)

W: Failed to fetch  404  Not Found

W: Failed to fetch  404  Not Found

W: Some index files failed to download. They have been ignored, or old ones used instead.

I have several errors at the end of the output. How can I solve the problems?


share|improve this question

marked as duplicate by Braiam, i08in, Richard, mikewhatever, Lucio Apr 6 '14 at 23:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

For clarification, I have many errors in the output at the end. I edit post for that. – Tim Apr 5 '14 at 14:48
Here is one more link‌​, this will help you with NO_PUBKEY – c0rp Apr 5 '14 at 14:50
One more link, will help you with 404 Not Found – c0rp Apr 5 '14 at 14:56
If it is still a problem I can summarize all in answer. Just let me know. Good luck! – c0rp Apr 5 '14 at 14:57
Thanks. I updated the output, and the remaining is what I still don't know how to solve. – Tim Apr 5 '14 at 15:10

Browse other questions tagged or ask your own question.