Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-12-05 Thread perryh
Hugh bo...@gmail.com wrote:

 A question i've got is where i can find the default PACKAGESITE value?
 
It seems to be hardcoded in usr.sbin/pkg_install/add/main.c
(line 318 in the 8.1 version).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-12-04 Thread Hugh
A question i've got is where i can find the default PACKAGESITE value?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-12-04 Thread Edgar Rodolfo
2011/12/4, Hugh bo...@gmail.com:
 A question i've got is where i can find the default PACKAGESITE value?

FreeBSD comes with the default mirror (ftp), see when you use pkg_add,
in my case it failed, is the reason because i changed to the mirror
(ftp), you can use diferent ftp

ftp://ftp.freebsd.org/pub/FreeBSD/




-- 
Edguitar ;)
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-unsubscr...@freebsd.org


Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-11-30 Thread Edgar Rodolfo
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-unsubscr...@freebsd.org


Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-11-30 Thread Alexander Kapshuk
you may want to define the PACKAGESITE variable in the .cshrc file in your
$HOME;


On Wed, Nov 30, 2011 at 1:27 PM, Edgar Rodolfo cybernaut...@gmail.comwrote:

 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-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-11-30 Thread Edgar Rodolfo
2011/11/30, Alexander Kapshuk alexander.kaps...@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
 cybernaut...@gmail.comwrote:

 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-unsubscr...@freebsd.org




-- 
Edguitar ;)
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-unsubscr...@freebsd.org