Re: How do you tell pkg_add to just download the packages ?

2006-04-20 Thread Conrad J. Sabatier
On Wed, 19 Apr 2006 12:28:57 +0800
Low Kian Seong [EMAIL PROTECTED] wrote:

 Dear all,
 
 I come from a debian background, and in debian you can pass an
 argument to apt-get to tell it to download all the packages first
 without installing them first, is there a similar argument that I can
 pass to pkg_add ( I want to use binaries ) or are there other tools I
 can use ?

man pkg_fetch

Actually, you would do well to familiarize yourself with *all* of the
pkg_* tools.

man -k pkg

Then, when you're ready, install portupgrade and forget about all of
that stuff.  :-)

-- 
Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do you tell pkg_add to just download the packages ?

2006-04-19 Thread Duane Whitty

Low Kian Seong wrote:

Dear all,

I come from a debian background, and in debian you can pass an argument to
apt-get to tell it to download all the packages first without installing
them first, is there a similar argument that I can pass to pkg_add ( I want
to use binaries ) or are there other tools I can use ?

Thanks.
___
  

Hi,

Try portupgrade(1)  (man 1 portupgrade)

# cd /usr/ports
# portupgrade -NFPPv  name-of-package

This says this may be a new installation N
Go get the files (packages), do not install anything F
Use packages only, fail if packages not available PP (important to use 
two upper-case Ps here)

Be verbose v

If you also want to fetch dependencies you can add -R.  This will 
recurse through all

the dependencies the new package needs

# cd /usr/ports
# portupgrade -NFPPRv  name-of-package

Best Regards,

Duane Whitty
--
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do you tell pkg_add to just download the packages ?

2006-04-18 Thread Low Kian Seong
Dear all,

I come from a debian background, and in debian you can pass an argument to
apt-get to tell it to download all the packages first without installing
them first, is there a similar argument that I can pass to pkg_add ( I want
to use binaries ) or are there other tools I can use ?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do you tell pkg_add to just download the packages ?

2006-04-18 Thread Kris Anderson


--- Low Kian Seong [EMAIL PROTECTED] wrote:

 Dear all,
 
 I come from a debian background, and in debian you
 can pass an argument to
 apt-get to tell it to download all the packages
 first without installing
 them first, is there a similar argument that I can
 pass to pkg_add ( I want
 to use binaries ) or are there other tools I can use
 ?
 
 Thanks.
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
pkg_add -n says Do not actually install a package,
just report the steps that would be taken if it was.
But it doesn't say what it will do, so you can give
that a try.

Another thing to try is make fetch-recursive in one of
the items listed in the ports tree you would like to
fetch. Find a small package with only a couple of
dependencies and see if make fetch-recursive indeed
just fetches items and not install (I stried it with
Zope3). It downloaded the two packages but didn't
install them.

Hope that helps.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]