Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am not able to install any packages from terminal or software center.

Something wicked happened resolving 'your_proxy: 800' (-5 - No address associated with hostname).

This error pops up. I need help.

share|improve this question
- check you sources.list for errors (or add it into this question) - also check /etc/hosts and make sure it contains a line for 127.0.0.1 with localhost and a line 127.0.1.1 for your hostname - allso check /etc/hostname and make sure that this contains your hostname - can you connect to the internet with this system? (ie. does ping www.google.com work? ) – Rinzwind Jun 9 '12 at 19:09
yes.it contains all that you have told. – sachin Jun 9 '12 at 21:00

1 Answer

You set a proxy for apt in your system. Probably you'll find it in a file in /etc/apt. You can use grep to find the entry:

sudo grep -r your_host /etc/apt

If it doesn't find anything check the environment variable http_proxy.

However according to the error message the proxy is set to the host your_proxy and port 800. But your system fails to resolve this hostname. So check the hostname for typos or other errors and try to use the correct setting. If you use the correct version, your proxy will work.

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.