From owner-freebsd-stable Sun Jan 13 18:27:34 2002 Delivered-To: freebsd-stable@freebsd.org Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by hub.freebsd.org (Postfix) with ESMTP id 06DF737B405 for ; Sun, 13 Jan 2002 18:27:29 -0800 (PST) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id NAA23035 for ; Mon, 14 Jan 2002 13:27:27 +1100 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id NAA07734; Mon, 14 Jan 2002 13:27:27 +1100 (EST) Message-Id: <200201140227.NAA07734@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: stable@freebsd.org Subject: portupgrade and package paths Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 14 Jan 2002 13:27:27 +1100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Aaargh I'm going crazy trying to set up portupgrade to use packages. I have a system where uname -r says "4.5-PRERELEASE". So "portupgrade -PP" is insisting on looking in ftp://ftp2.au.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.5-prerelease/All/ Which of course doesn't exist. I need it to use "/packages-4.5-release/All" for this ftp mirror, but i cannot work out the correct magic. I've tried export PKG_PATH="/pub/FreeBSD/ports/i386/packages-4.5-release/" but that is just ignored. I tried export PKG_PATH="$PACKAGEROOT/pub/FreeBSD/ports/i386/packages-4.5-release/" but that complains that "ftp is not a valid path" then "/ftp2.au.FreeBSD.org/ pub/Fre... is not a valid path". (i.e. is splitting on : not space as specified in the pkg_fetch man page). I've tried all sorts of hacks and tweaks, but short of hacking the OS strung that uname returns, I'm stumped. I'm no ruby expert either. hints? [ Aside: fetch gives a bogus error message: fetch -o /exisiting/dir url:/non-existant/file will give a bogus error message: fetch: /existing/dir/file: Not Found I'm about to send-pr this ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message