LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-04-2004, 05:35 PM   #1
geniarse
Member
 
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
APT behind a proxy


Heya, I'm planning to put debian on ma machine in the near future (I'm sick of suse) and I was wondering whether apt-get works behind a proxy server??? or any work arounds.

Plus while I'm here does the same work for emerge on gentoo if anyone knows

Last edited by geniarse; 04-05-2004 at 06:30 AM.
 
Old 04-04-2004, 05:51 PM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Yes and Yes.
Gentoo
Code:
[ken:ken](06:48 PM)$ cat /etc/make.conf | grep proxy 
# If you need to set a proxy for wget or lukemftp, add the appropriate "export
# ftp_proxy=<proxy>" and "export http_proxy=<proxy>" lines to /etc/profile if
# all users on your system should use them.
Debian man apt.conf
Code:
 http   HTTP URIs; http::Proxy is the default http proxy to use.  It  is
              in the standard form of http://[[user][:pass]@]host[:port]/. Per
              host  proxies  can  also  be  specified  by   using   the   form
              http::Proxy::<host>  with  the special keyword DIRECT meaning to
              use no proxies. The http_proxy environment variable  will  over-
              ride all settings.
HTH
 
Old 04-04-2004, 05:53 PM   #3
geekzen
Member
 
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183

Rep: Reputation: 30
http://lists.debian.org/deity/1999/d.../msg00193.html

Google is your friend
 
Old 04-04-2004, 07:35 PM   #4
xcity
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Rep: Reputation: 0
more words, some debian update site support both http protocal and ftp protocal, make sure you get the right one.
 
Old 04-14-2004, 09:26 PM   #5
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
apt-config -o http::Proxy=<proxy information> shell
will set the apt proxy for http, use ftp::Proxy for ftp.

<proxy information> as in the man pages or as described in the second post.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set up proxy in Apt-Get's apt.conf? rykel Fedora 9 10-09-2013 03:24 AM
apt via digest proxy HSukirman Linux - Newbie 1 06-26-2005 09:30 PM
apt-proxy and cron-apt - download once for the whole LAN Abject Debian 1 06-20-2004 01:53 PM
Apt-proxy setup pe2338 Debian 3 05-04-2004 12:38 PM
apt-get through a proxy connection? Shade Linux - Software 8 09-13-2003 11:21 AM


All times are GMT -5. The time now is 07:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration