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

Re: boot-floppies dselect acquisition methods



Adam P. Di Carlo wrote:
>Should probably keep:
>
>  http		(dpkg-http)
>	maintainer says is obsolete in /usr/doc/dpkg-http/README.Debian:
>
>	Package installation is unordered, which can cause difficulty
>	with important system packages with predendencies.  Package
>	ordering is available in APT (A Package Tool), which will
>	replace dpkg-http.
>
>	However, below:
>
>	   HTTP Proxy firewalls are supported thanks to Greg Wooledge.
>	"Authorization:" and "Proxy-Authorization:" are both supported, and
>	are known to work on "ANS InterLock Proxy" and "InterLock/4.0" firewalls.

Apt features rather-well-tested HTTP Proxy authentication using
Proxy-Authentication:, at least it works on every proxy those poor corporate
saps on IRC have to go through (Squid, Netscape Proxy Server, Microsoft
Proxy Server...). :>

Perhaps this info should go in the documentation somewhere:

To use HTTP proxies with apt, set the environment variable "http_proxy" to
the desired proxy URL. For example, to use a proxy at proxy.worksucks.com,
port 8080, as user 'johndoe' with a password of 'debian', you would type a
command like this before running dselect or apt-get:

export http_proxy=http://johndoe:debian@proxy.worksucks.com:8080/

For proxies that do not require user authentication, you can leave off the
username and password:

export http_proxy=http://proxy.worksucks.com:8080/

If your HTTP proxy will proxy FTP requests, and you plan to use an FTP
server, you should set your ftp_proxy environment variable instead:

export ftp_proxy=http://proxy.worksucks.com:8080/

wget and lynx also obey these environment variables.

(Side note: apt v3 (0.3.x), still in development, features a way to specify
the proxy information from a config file instead of an environment variable)
-- 
Robert Woodcock - rcw@debian.org
"It's like a love-hate relationship, but without the love." -- jwz, on linux


--  
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: