Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jan 2001 21:10:25 +0000
From:      ian j hart <ianjhart@freeloader.freeserve.co.uk>
To:        "Vladimir V. Egorin" <vladimir@math.uic.edu>
Cc:        "stable@freebsd.org" <stable@freebsd.org>
Subject:   Re: fetch problem
Message-ID:  <3A5243C1.4314EDCB@freeloader.freeserve.co.uk>
References:  <20010102132905.A15311@math.uic.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A5243C1.4314EDCB>