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.

This is the result I get trying to get updates. Internet connection is fine, if I put the URL's in a browser, it gets to the address and downloads packages OK.. What is the fix for this error Could not resolve hostname? Lots of these errors ocur, I am only allowed to post 2 links..

$ sudo apt-get update
[sudo] password for quinco: 

Err http://au.archive.ubuntu.com saucy-backports Release.gpg                   
  Could not resolve 'hostname'
Err http://au.archive.ubuntu.com saucy-security Release.gpg                    
  Could not resolve 'hostname'
share|improve this question
    
Can you post your sources.list? –  Nattgew Apr 7 at 19:26

1 Answer 1

Found the answer on Linux Questions, turned out to be an entry in the line in a file under /etc/apt/apt.conf/ called 01proxy

Acquire::http::Proxy "http://"hostname":3142";

Commented out the line and now all OK..

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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