Answered my own question. Thought I'd post this just incase anyone else
runs into this problem.



http://lists.debian.org/debian-sparc-0005/msg00170.html
-- 
===========================================================
Scott Fraser              Email: [EMAIL PROTECTED]
            Senior Systems/Network Administrator

Quester Tangent Corp.
99-9865 West Saanich Road.      Voice: 250.656.6677 ext 236
Sidney, BC, Canada              Fax:    250.655.4696
V8L 5Y8                         http://www.questercorp.com/
===========================================================
Blue-blooded men they fell from grace
Piranhas eating their own
They Sacrificed at the alter of lies
So fate took its course in the ballad of William Kidd
Title: Re: apt-get proxy setup

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

Re: apt-get proxy setup



On Mon, May 22, 2000 at 01:29:01AM +1000, Peter Firmstone wrote:
> Jean-Paul Blaquiere wrote:
> 
> > > On May 22, Peter Firmstone scratched in indelible ink :
> >
> > > I'm relatively new to debian and I'm having a little confusion setting
> > > up my /etc/apt/sources.list file for use behind a squid proxy-firewall.
> > >
> > > deb http://squid.cqu.edu.au:3128/www.au.debian.org/debian stable main
> > > contrib non-US
> > >
> > exporting the http_proxy and ftp_proxy environment variables will fix
> > this.   (man sources.list)
> >
> > bash/sh/ksh
> > export http_proxy='squid.cqu.edu.au:3128'
> >
> > or csh:
> > setenv http_proxy='squid.cqu.edu.au:3128'
> >
> > /Jp.
> > --
> > Jean-Paul Blaquiere             ||   Student of Computational
> >    [EMAIL PROTECTED]   ||   Thaumaturgy
> >         We have what is termed a one way gateway on our house.
> >         Computers are allowed to enter, but they may not leave.
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> Hey thanks,
> 
> That did the trick, I didn't realize it needed to be specified on the command
> line (I thought it went in the URL section of the sources.list Doh!).

Actually it should be specified as an environment variable but there is
another way as well. You can set in /etc/apt/apt.conf this option:

Acquire::http::Proxy "http://proxy.server.here:8080/";

Which should work as well.

Cheers,
Anand



Reply via email to