Date: Sun, 13 Jan 2002 21:01:00 -0800 From: Gregory Sutter <gsutter@zer0.org> To: Gregory Bond <gnb@itga.com.au> Cc: stable@freebsd.org Subject: Re: portupgrade and package paths Message-ID: <20020114050100.GI5234@klapaucius.zer0.org> In-Reply-To: <200201140227.NAA07734@lightning.itga.com.au> References: <200201140227.NAA07734@lightning.itga.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--+QwZB9vYiNIzNXIj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2002-01-14 13:27 +1100, Gregory Bond <gnb@itga.com.au> wrote: > > I have a system where uname -r says "4.5-PRERELEASE". > So "portupgrade -PP" is insisting on looking in=20 >=20 > ftp://ftp2.au.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.5-prerelease= /All/<pkg-name> >=20 > Which of course doesn't exist. I need it to use "/packages-4.5-release/A= ll" > for this ftp mirror, but i cannot work out the correct magic. >=20 > I've tried > export PKG_PATH=3D"/pub/FreeBSD/ports/i386/packages-4.5-release/" > but that is just ignored. >=20 > I tried > export PKG_PATH=3D"$PACKAGEROOT/pub/FreeBSD/ports/i386/packages-4.5-rele= ase/" >=20 > 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). =20 You should be able to use the PACKAGESITE variable to override the contents of PKG_PATH and PACKAGEROOT.=20 export PACKAGESITE=3D"ftp://ftp2.au.FreeBSD.org/pub/FreeBSD/ports/i386/pack= ages-4.4-stable/All/" Greg --=20 Gregory S. Sutter "How do I read this file?" mailto:gsutter@zer0.org "You uudecode it." http://www.zer0.org/~gsutter/ "I I I decode it?" hkp://wwwkeys.pgp.net/0x845DFEDD --+QwZB9vYiNIzNXIj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQE8QmYLIBUx1YRd/t0RAmIeAJ9G9qzEHqKjFlQxjrvIJNG6PtTL7wCdH+2j SOTv/pb6tolJE78ZRcKdj3o= =+Uge -----END PGP SIGNATURE----- --+QwZB9vYiNIzNXIj-- 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?20020114050100.GI5234>