Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

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 saucy-backports Release.gpg                   
  Could not resolve 'hostname'
Err saucy-security Release.gpg                    
  Could not resolve 'hostname'
share|improve this question
Can you post your sources.list? – Nattgew Apr 7 '14 at 19:26

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


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.