apt-get proxy

1999-06-03 Thread debian
Also once I have downloaded/upgraded using dselect to apt-get how do I
configure apt-get to use the MS-proxy on company lan, which doesn't require
authentication

Thanks once more
Michael


apt-get proxy config?

2000-05-21 Thread Peter Firmstone
Hi,

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.

I can't seem to get the format right!

I guessed that it may be:

deb http://squid.cqu.edu.au:3128/www.au.debian.org/debian stable main
contrib non-US

however this doesn't appear right as the proxy server returns the error:
400 Bad Request

What am I doing wrong?

Thanks in Advance,

Peter Firmstone.





Re: apt-get proxy

1999-06-03 Thread Laurent Martelli
> "Michael" == debian  <[EMAIL PROTECTED]> writes:

  Michael> Also once I have downloaded/upgraded using dselect to
  Michael> apt-get how do I configure apt-get to use the MS-proxy on
  Michael> company lan, which doesn't require authentication

You can either set the ftp_proxy and http_proxy environment variables,
or configure /etc/apt/apt.conf. Using a proxy for FTP won't work
unless you use a little trick : go into /usr/lib/apt/methods, and link
ftp to http. It works for me.

-- 
Laurent Martelli
[EMAIL PROTECTED]


Re: apt-get proxy

1999-06-05 Thread Barry Kauler
On Thu, 03 Jun 1999, debian wrote:
> Also once I have downloaded/upgraded using dselect to apt-get how do I
> configure apt-get to use the MS-proxy on company lan, which doesn't require
> authentication

It's in the documentation somewhere.
# export ftp_proxy=ftp://your ftp address here:port/
ditto for http_proxy

Regards,
Barry Kauler


Re: apt-get proxy

1999-06-06 Thread Peter Bartosch
Hi!


> On Thu, 03 Jun 1999, debian wrote:
> > Also once I have downloaded/upgraded using dselect to apt-get how do I
> > configure apt-get to use the MS-proxy on company lan, which doesn't require
> > authentication
> 
> It's in the documentation somewhere.
> # export ftp_proxy=ftp://your ftp address here:port/
> ditto for http_proxy

and how about rsync?? (with a proxy with auth)

-- 
until next mail B-)

Peter
-- 
   :~~  [EMAIL PROTECTED]  ~~:
   :  student of technical computer science   :
   : university of applied sciences krefeld (germany) :
~~
   FD314F21   C7 AE 2F 28 C1 33 71 77  0D 77 CD 6E 58 E9 06 6B


Debian + apt-get & proxy

2004-01-06 Thread Marc Hultquist



Hey Everyone
 
I just finished installing debian onto a to be fax server, but yes as is 
tobe expected there is alot which still needs to be done.Therefore I 
was wondering, how do I get apt-get to authenticate against oursquid proxy 
here with a specific username & password ? I aintcompletly sure as to 
how todo it or whether it can be done or not, but itwould be a huge help if 
it could, and if anyone does know how, if theycould contact me ? On or off 
the list, does not matter.
Kind Regards
- Marc Hultquist ComputerKit 
Systems (Pty) Ltd Network Administrator http://www.cks.co.za (E-Mail) [EMAIL PROTECTED] (Cell) +27 (0)82 
5495467 (Phone) +27 (0)11 6955300 (Ext: 217) Personal Site: http://www.aftermatch.net


Re: apt-get proxy config?

2000-05-21 Thread Alex Titov
Peter Firmstone wrote:
> 
> Hi,
> 
> 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.
> 
> I can't seem to get the format right!
> 
> I guessed that it may be:
> 
> deb http://squid.cqu.edu.au:3128/www.au.debian.org/debian stable main
> contrib non-US
> 
> however this doesn't appear right as the proxy server returns the error:
> 400 Bad Request
> 
> What am I doing wrong?

I believe apt knows about http_proxy and ftp_proxy environment
variables, so try to define them both as http://squid.cqu.edu:3128/

In case of bash:

bash$ export http_proxy="http://squid.cqu.edu:3128/";
bash$ export ftp_proxy="http://squid.cqu.edu:3128/";

or, if in [t]csh:

$ setenv http_proxy http://squid.cqu.edu:3128/
$ setenv ftp_proxy http://squid.cqu.edu:3128/

Best regards.

---
Alex Titov



RE: apt-get proxy config?

2000-05-21 Thread Christian Pernegger
Hi!

Read

man apt-get

It explains how to permanently set up proxies for apt.

IIRC: (in /etc/apt/apt.conf add)

Acquire::http::proxy "http://yourproxy:yourport/";;

Christian

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Peter Firmstone
> Sent: Sunday, May 21, 2000 3:54 PM
> To: debian
> Subject: apt-get proxy config?
> 
> 
> Hi,
> 
> 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.
> 
> I can't seem to get the format right!
> 
> I guessed that it may be:
> 
> deb http://squid.cqu.edu.au:3128/www.au.debian.org/debian stable main
> contrib non-US
> 
> however this doesn't appear right as the proxy server returns the error:
> 400 Bad Request
> 
> What am I doing wrong?
> 
> Thanks in Advance,
> 
> Peter Firmstone.



Re: Debian + apt-get & proxy

2004-01-06 Thread Florian Ernst
Hello Marc!

On Tue, Jan 06, 2004 at 12:36:52PM +0200, Marc Hultquist wrote:
Therefore I was wondering, how do I get apt-get to authenticate against our
squid proxy here with a specific username & password ? I aint
completly sure as to how todo it or whether it can be done or not, but it
would be a huge help if it could, and if anyone does know how, if they
could contact me ? On or off the list, does not matter.
You can set up apt-get in /etc/apt/apt.conf or set the http_proxy
environment variable, see
man apt.conf
for details, see
zless /usr/share/doc/apt/examples/configure-index.gz
for, well, examples.
HTH,
Flo


signature.asc
Description: Digital signature