Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 http://cran.cnr.Berkeley.edu precise/ Release.gpg                          
  Could not connect to cran.cnr.Berkeley.edu:80 (169.229.201.201). - connect (111: Connection refused)
Err http://ppa.launchpad.net precise/main Sources        
  404  Not Found
Err http://ppa.launchpad.net precise/main i386 Packages  
  404  Not Found

W: Failed to fetch http://cran.cnr.Berkeley.edu/bin/linux/ubuntu/precise/Release.gpg  Could not connect to cran.cnr.Berkeley.edu:80 (169.229.201.201). - connect (111: Connection refused)

W: Failed to fetch http://ppa.launchpad.net/venerix/blug/ubuntu/dists/precise/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/venerix/blug/ubuntu/dists/precise/main/binary-i386/Packages  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?

Thanks!

share|improve this question

marked as duplicate by Braiam, i08in, Richard, mikewhatever, Lucio Apr 6 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 at 14:48
    
Here is one more link‌​, this will help you with NO_PUBKEY –  c0rp Apr 5 at 14:50
    
One more link, will help you with 404 Not Found –  c0rp Apr 5 at 14:56
    
If it is still a problem I can summarize all in answer. Just let me know. Good luck! –  c0rp Apr 5 at 14:57
    
Thanks. I updated the output, and the remaining is what I still don't know how to solve. –  Tim Apr 5 at 15:10
show 3 more comments

Browse other questions tagged or ask your own question.