can't get updates through socks proxy

Asked by Sven

Hi,

I've found no solution for this, so far, not in Debian Documentation, nor here or in other Ubuntu Documentation.

The setup is as described below:
Installed Version of Ubuntu: 10.10
Networksettings: static IP-address
Proxyconfiguration:
SOCKS-Proxy on Standard-Port 1080 no authentication required.
Problem:
Synaptic can't find updates, apt either.
reproducible: always.

reason: can't connect to any mirrors.

any help would be appreciated, for I need this machine in office, and I don't want to use windows any more, but an insecure (because not patched) linux won't do the job.

regards
Sven

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please set the system proxy using menu System→Preferences→network proxy to get updates and also set proxy using synaptic network opritons...

Revision history for this message
Sven (sven-kieske) said :
#2

Thanks four your fast reply:

Well Synaptic doesn't offer an option for SOCKS-Proxys. The network proxy was correctly set up, I forgot to mention that, sorry.
I tried it with the following options in Synaptic: Direct connection to the internet: didn't work (I hoped it would then use system defaults) and the socks proxy in the field "http proxy" didn't work either.

Nevertheless I found a workaround: I got another proxy (privoxy) with an http-port open, when I gave synaptic this proxy it can connect.

But I'm still curious if someone got synaptic or even just apt-get to work with a socks proxy.

Sadly I found no real documentation on how to use or configure proxysettings for apt via commandline.

As an System Administrator relatively new to UNIX I really want to understand this issue and how to fix it.

kind regards
Sven

Can you help with this problem?

Provide an answer of your own, or ask Sven for more information if necessary.

To post a message you must log in.