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

Re: Faire du ftp derrière un firewall et apt-get qui marche pas.



On mer, jui 28, 1999 at 03:27:57 +0200, Philippe HUBAUT wrote:
> 
> ANNEXE pour le apt-get
> 
> 192.168.101.254 c'est mon proxy qui fonctionne bien (cf avec wget en
> fin de message) apt version 0.1.9 inclus dans la version slink uname
> -a: Linux linux 2.0.36 #2 Sun Feb 21 15:55:27 EST 1999 i486 unknown
> voila, apt-get ca doit être cool si ca marche :)
> 
> linux:~# env | grep proxy apt-http_proxy=http://192.168.101.254:8080/
> ftp_proxy=http://192.168.101.254:8080/
> 
> linux:~# apt-get update Get ftp://ftp.lip6.fr stable/contrib Packages
> Error ftp://ftp.lip6.fr stable/contrib Packages ftp_connect: Could not
> connect Get ftp://ftp.lip6.fr stable/main Packages Error
> ftp://ftp.lip6.fr stable/main Packages ftp_connect: Could not connect
> Get ftp://ftp.lip6.fr stable/non-free Packages Error ftp://ftp.lip6.fr
> stable/non-free Packages ftp_connect: Could not connect ERROR
> ftp://ftp.lip6.fr/pub/linux/distributions/debian/dists/stable/contrib/bina
> ry-i386/Packages.gz ftp_connect: Could not connect ERROR
> ftp://ftp.lip6.fr/pub/linux/distributions/debian/dists/stable/main/binary-
> i386/Packages.gz ftp_connect: Could not connect ERROR
> ftp://ftp.lip6.fr/pub/linux/distributions/debian/dists/stable/non-free/bin
> ary-i386/Packages.gz ftp_connect: Could not connect Segmentation fault

Je suis sous potato avec apt 0.3.11 donc je ne sais pas si ça marchera
pour toi :
apt-get -o Acquire::http::Proxy=http://192.168.101.254:8080/ update
(ca marche aussi avec ftp::Proxy=...)

Olivier

P.S. : j'ai trouvé ça dans le man apt.conf, je ne l'ai pas testé...
-- 
"Necessity is the mother of invention" is a silly proverb.  "Necessity
is the mother of futile dodges" is much nearer the truth.
		-- Alfred North Whitehead


Reply to: