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

Possible Duplicate:
How can I get apt to use a mirror close to me, or choose a faster mirror?

I was trying to install emacs and I got a bunch of errors like this:

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

I tried apt-get update but it gives an error too. So I found out that port 8118 is used by Tor. Tor is not running right now and proxy settings are on automatic. What can I do?

share|improve this question

marked as duplicate by Jorge Castro, nitstorm, Amith KK, izx, jokerdino Aug 18 '12 at 6:59

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.

The mirror might be having problems, see the question I just linked to pick another one. – Jorge Castro Aug 16 '12 at 2:32
See this answer to disable the systemwide proxy. – izx Aug 16 '12 at 3:32

1 Answer 1

Check your connection. The repository IP could'nt be caus it localhost IP

share|improve this answer
That's the proxy address. So the problem is likely with his proxy/VPN. – Marco Ceppi Aug 16 '12 at 3:28
Also, the port is 8118. – hexafraction Aug 18 '12 at 17:59

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