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

Re: apt-get with ftp proxy



On Thu, 14 Dec 2006 07:24:14 +0000
Liam O'Toole <liam.p.otoole@gmail.com> wrote:

> On Thu, 14 Dec 2006 09:12:41 +0800
> sakya <yasakya@gmail.com> wrote:
> 
> > Dear Debianlists,
> > 
> > I want to use apt-get to install some software from the foreign
> > site,but I can not connect via
> > ftp proxy,but I can download via the just proxy site.
> > Why? and who can explain the "Acqure::ftp" section
> > in apt.conf
> > 
> > 
> 
> I've never used the Acquire::ftp section of apt.conf. Instead, I set
> the http_proxy and ftp_proxy environment variables like in this
> example:
> 
>     export http_proxy=http://localhost:3128
>     export ftp_proxy=$ftp_proxy
>     apt-get update
>     apt-get install ...
> 

Sorry, that second line should read

    export ftp_proxy=$http_proxy

-- 

Liam



Reply to: