-1

I have got a problem with update and installation.

$ sudo apt-get update
[sudo] password for salman: 
Err http://sa.archive.ubuntu.com precise Release.gpg
  Could not connect to localhost:8080 (127.0.0.1). - connect (111: Connection refused)

How do i fix this problem?

1 Answer 1

0

You set a proxy on localhost:8080 somewhere, and that proxy does probably not exist. Do you intend to use a local proxy? If not, try export http_proxy="" followed by sudo apt-get update

7
  • Unfortunately this didn't solve my problem Thank you Jul 20, 2014 at 2:21
  • Do you intend to use a local proxy (that is not working), or do you not intend to use one?
    – noleti
    Jul 20, 2014 at 2:24
  • I don't intend to use one Jul 20, 2014 at 2:25
  • type export |grep -i proxy, does that return something? Also, check /etc/environment for proxy settings
    – noleti
    Jul 20, 2014 at 2:27
  • also, askubuntu.com/questions/229369/… is related, have a look there
    – noleti
    Jul 20, 2014 at 2:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .