From owner-freebsd-questions@FreeBSD.ORG Mon Jul 26 16:04:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CA7616A4CE for ; Mon, 26 Jul 2004 16:04:15 +0000 (GMT) Received: from marshal.ul.ie (marshal.ul.ie [136.201.1.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E0FD43D5C for ; Mon, 26 Jul 2004 16:04:09 +0000 (GMT) (envelope-from brian.sheehan@ul.ie) Received: from exch-staff4.ul.ie (Not Verified[136.201.1.128]) by marshal.ul.ie with NetIQ MailMarshal (v5.5.6.7) id ; Mon, 26 Jul 2004 17:03:14 -0500 Received: from ul.ie (memex.idc.ul.ie [136.201.107.91]) by exch-staff4.ul.ie with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id PVJGYA2Y; Mon, 26 Jul 2004 16:54:22 +0100 Message-ID: <41052A3C.2090803@ul.ie> Date: Mon, 26 Jul 2004 16:58:52 +0100 From: Brian Sheehan User-Agent: Mozilla Thunderbird 0.5 (X11/20040429) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: ports & packages: problems with fetch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 16:04:15 -0000 Hi, I've recently been having problems with the ports/packages system on a newly installed 4.10-RELEASE FreeBSD machine. Some port/package installations would fail, making it seem that a large proportion of package repositories where out of date, and that only a small number were up to date. I more or less solved the problem, but I'm posting this here as it took quite a lot of fiddling to overcome it, and it took me a while to cop what the actual problem was: a dodgy proxy server between me and the freeBSD repositories. Some port / package installations would fail with: fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/: size unknown If the file were fetched manually, the same "size unknown" warning would be displayed, but fetch would actually go ahead and download the file anyway. If the file were placed in /usr/ports/distfiles, installation would sometimes work. In cases where it didn't, an inspection of the downloaded .tar.gz file with cat showed it to in fact contain a http error response from the proxy server I was using. Fetching the same files from a machine outside the firewall worked perfectly. Solution: I tried a different proxy server in the organisation where I work - it is administered by a different department than the one I was using, and seems to work reliably with fetch. Does this sound like a reasonable explanation to people? If so, which proxy servers are know to be problematic? Brian