Date: Mon, 14 Jan 2002 13:27:27 +1100 From: Gregory Bond <gnb@itga.com.au> To: stable@freebsd.org Subject: portupgrade and package paths Message-ID: <200201140227.NAA07734@lightning.itga.com.au>
next in thread | raw e-mail | index | archive | help
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/<pkg-name> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201140227.NAA07734>