[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring APT to use localhost port as a proxy



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Pogrebennyk wrote:
> Hello,
> 
> I have a ssh tunnel which connects localhost:3128 to remote proxy. I
> have tried setting environment variables to localhost:3128 (and
> http://localhost:3128) and modifying apt.conf as well, but apt tries to
> fetch files from 3128:80 :/
> What would you suggest?
> 
> Please add cc to the address I'm writing from since I am not subscribed
> to this mailing list.

Create a file in /etc/apt called apt.conf and put the following line in:
Acquire::http::Proxy "http://localhost:3128";

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0kb0tYqd1KeuQA8RAnH6AJ413sLR5IV+mXrsPq2VY4ZOyp/20wCgtObW
asoFksJvslKpsieHjJ5oZKw=
=SjtB
-----END PGP SIGNATURE-----



Reply to: