I want to add SOCKS proxy settings to /etc/apt/apt.conf. What is the syntax for it? Is it same as http and ftp syntax?
Thanks.
|
|
|
A possible solution can be to use
or
You can think to a number of options, to simplify and automate its use.
Edit: a shorter way to use it:
|
|||||||||||||||||||||
|
|
Using the next config line works for me:
To keep |
|||||||||
|
|
Or tou can put in your /etc/apt/apt.conf something like this:
|
|||||||||||||||||||||
|
|
I couldn't find anything on Acquire::socks::proxy in the apt.conf manual of Ubuntu Xenial. You could fix this by running a local http proxy that supports upstream socks proxy, for example Polipo. You need to configure Polipo as follows:
and then set the http proxy in your apt.conf file:
|
|||
|
|