-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?

xiaodongjie
  • 2,874

1 Answers1

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

noleti
  • 4,103
  • 28
  • 27