portinstall vs. pkg_add questions
Michael Nottebrock
michaelnottebrock at gmx.net
Tue Sep 7 02:06:34 PDT 2004
On Tuesday 07 September 2004 09:11, Bjarne Wichmann Petersen wrote:
> I'm playing around with RELENG_5.
>
> I'd like to install binary packages instead of using ports (the machine is
> slow).
>
> First bump. "pkg_add -r" looks in
> "ftp://ftp.freebsd.org/.. ../packages-5.3-release/", which doesn't exist...
> yet. And I failed to figure out how to change the default site to some
> mirror and path to ".../packages-5-current/", which I figure would be fine
> for recently updated RELENG_5 (aka BETA1).
setenv PACKAGESITE
ftp://ftp2.freebsd.org/pub/FreeBSD/ports/i386/packages-5-current/Latest/
> Reading the
> man-pages I was pointed toward pkg_fetch, which in turn stated I just needed
> to change som ENV-variables. I tried changing several, but portinstall kept
> using the default. Finally I figured out that I need to set the variables in
> pkgtools.conf and not in the shell-prompts.
The variables are environent variables either way, they should work just fine
setting them from the shell, too.
--
,_, | Michael Nottebrock | lofi at freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040907/f0d5bb94/attachment.bin
More information about the freebsd-ports
mailing list