From owner-freebsd-ports Tue Jul 2 14: 5:57 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADB0E37B49E; Tue, 2 Jul 2002 14:05:16 -0700 (PDT) Received: from midearth.org (cs666880-180.austin.rr.com [66.68.80.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9802844203; Tue, 2 Jul 2002 10:23:07 -0700 (PDT) (envelope-from slpalmer@midearth.org) Received: from midearth.org (localhost [127.0.0.1]) by midearth.org (8.12.5/8.12.2) with ESMTP id g62HMjUN003544; Tue, 2 Jul 2002 12:22:45 -0500 (CDT) (envelope-from slpalmer@midearth.org) From: "Stephen L. Palmer" To: ports@freebsd.org, Subject: pkg_fetch broken on 4.6 stable? Date: Tue, 2 Jul 2002 12:22:45 +0900 Message-Id: <20020702122245.M36751@midearth.org> X-Mailer: Open WebMail 1.64 20020415 X-OriginatingIP: 144.189.248.170 (slpalmer) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I sent this to the list about a week ago. The only response so far, was from someone else also having directory path issues with pkg_fetch. Is this someting documented somewhere? If so, would someone please send me a pointer on how to correct this behaviour? Stephen L. Palmer ======================================================== It seems that 'portupgrade -P' won't ever get a package, so it builds from source every time. On investigation, it seems that pkg_fetch is getting the directory path wrong. In the example below, the correct path would have included 'packages-4-stable', not 'packages-4.6-stable', at least that's how the directory structure on the ftp sites are. Stephen L. Palmer slpalmer@midearth.org http://bfsrocks.com example:------------------ root on gandalf:~ % pkg_fetch -v bash2 ---> Fetching bash2.tgz ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.6-stable/ ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/bash2.tgz' 'ftp://ftp.Free BSD.org/pub/FreeBSD/ports/i386/packages-4.6-stable/Latest/bash2.tgz' fetch: /var/tmp/bash2.tgz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.6-sta ble/Latest/bash2.tgz ** Failed to fetch bash2.tgz ---> Reporting the results (+:succeeded / -:ignored / *:skipped / !:failed) ! bash2 (fetch error) root on gandalf:~ % To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message