Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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 
> 
> 	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).  

You should be able to use the PACKAGESITE variable to override the
contents of PKG_PATH and PACKAGEROOT. 

export PACKAGESITE="ftp://ftp2.au.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.4-stable/All/"

Greg
-- 
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: ''

iD8DBQE8QmYLIBUx1YRd/t0RAmIeAJ9G9qzEHqKjFlQxjrvIJNG6PtTL7wCdH+2j
SOTv/pb6tolJE78ZRcKdj3o=
=+Uge
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020114050100.GI5234>