Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2011 11:58:11 -0500
From:      Edgar Rodolfo <cybernautape@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?
Message-ID:  <CAH+63SQ8M=5U5zPj7tOfKaJd8YJ0GdSb+TO2nOZBPEWnY8JbfA@mail.gmail.com>
In-Reply-To: <CAJ1xhMUcXskrrqFB6wF2TpXkkCjjz+aUNPat5Zd-Yq6V=aS4mQ@mail.gmail.com>
References:  <CAH+63SSYkb2q-r-X78bKeJ34McbO-jfUREcYyijGGdKR2haBtg@mail.gmail.com> <CAJ1xhMUcXskrrqFB6wF2TpXkkCjjz+aUNPat5Zd-Yq6V=aS4mQ@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
2011/11/30, Alexander Kapshuk <alexander.kapshuk@gmail.com>:
> you may want to define the PACKAGESITE variable in the .cshrc file in your
> $HOME;
>
Thank.
this is correct:

echo 'setenv PACKAGESITE
"ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages..../Latest/"' >>
/root/.cshrc



>
> On Wed, Nov 30, 2011 at 1:27 PM, Edgar Rodolfo
> <cybernautape@gmail.com>wrote:
>
>> Hi guys, currently i have a machine with freebsd 9 rc2, for default
>> when i try to use pkg_add -r wget, for example, i can not install
>> because the path is
>> freebsd# pkg_add -r xscreensaver
>> Error: Unable to get
>>
>> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/xscreensaver.tbz
>> :
>> File unavailable (e.g., file not found, no access)
>> pkg_add: unable to fetch
>> '
>> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/xscreensaver.tbz
>> '
>> by URL
>>
>> but i put :
>> freebsd# setenv PACKAGESITE
>> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/
>>
>> freebsd# pkg_add -r xscreensaver
>>         Fetching
>>
>> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/xscreensaver.tbz.
>> ..
>> Done.
>>
>> it works, pero i want to use for default, without put again it, when
>> the machine reboot
>> and i want to use again pkg i am puting the path manually :(, what is
>> the file when i should put the path? to use pkg_add -r package?,
>> without put again PACKAGESITE?, thank in advance!
>>
>>
>> http://cybernautape.blogspot.com
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe@freebsd.org"
>>
>


-- 
Edguitar ;)
http://cybernautape.blogspot.com



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAH+63SQ8M=5U5zPj7tOfKaJd8YJ0GdSb+TO2nOZBPEWnY8JbfA>