From owner-freebsd-stable Tue Jan 2 13:37:53 2001 From owner-freebsd-stable@FreeBSD.ORG Tue Jan 2 13:37:51 2001 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from math.uic.edu (galois.math.uic.edu [131.193.178.114]) by hub.freebsd.org (Postfix) with SMTP id 2E74137B400 for ; Tue, 2 Jan 2001 13:37:51 -0800 (PST) Received: (qmail 15866 invoked by uid 31415); 2 Jan 2001 21:37:22 -0000 Date: Tue, 2 Jan 2001 15:37:22 -0600 From: "Vladimir V. Egorin" To: ian j hart Cc: "stable@freebsd.org" Subject: Re: fetch problem Message-ID: <20010102153722.A15840@math.uic.edu> References: <20010102132905.A15311@math.uic.edu> <3A5243C1.4314EDCB@freeloader.freeserve.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A5243C1.4314EDCB@freeloader.freeserve.co.uk>; from ianjhart@freeloader.freeserve.co.uk on Tue, Jan 02, 2001 at 09:10:25PM +0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jan 02, 2001 at 09:10:25PM +0000, ian j hart wrote: > "Vladimir V. Egorin" wrote: > > > > Dear -STABLE Users, > > > > I ran into some problems with the ports collection (the system is > > 4.2-STABLE, built on Dec 21). My machine is sitting behind > > a proxy server (proxying http/ftp requests). > > > > I've set > > export FTP_PROXY=ftp://proxy_address:1080/ > > export HTTP_PROXY=ftp://proxy_address:1080/ > > I've also tried setting FTP_PASSIVE_MODE. > > > > Fetch fails with the messages: > > > > >> libtool-1.3.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > > >> Attempting to fetch from ftp://ftp.gnu.org/gnu/libtool/. > > fetch: libtool-1.3.4.tar.gz: Protocol error > > > > Does anyone know why this is happening? > > Many thanks, > > > > -- > > Vladimir > > Don't set FTP_PROXY. Set HTTP_PROXY something like this > > username:password@hostname.domain:port > > eg. > setenv HTTP_PROXY proxy_address:1080 > > The prococol part of the URL is the problem I think. > > See man 3 fetch > > -- > ian j hart > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message This solves it. fetch works if FTP_PROXY is not set. Many thanks to everyone for your replies and help. -- Vladimir To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message