On Sun, Aug 01, 2004 at 06:32:57AM -0700, Joshua Tinnin wrote:

> However, if you still want to use packages instead of source, I'm pretty sure 
> if you use the -r flag with pkg_add it will auto-fetch-and-install the 
> dependencies you need, as -r signifies to fetch the package remotely - i.e., 
> pkg_add -r xfce4 (I just tried this with another package, and it installed 
> the dependencies for it).

pkg_add -r will install any dependencies that are missing, but it
won't upgrade any earlier versions of dependencies it finds already
installed.

For that, use 'portupgrade -PPNa' (which, despite the program name,
only operated on packages with that combination of flags) -- but make
sure you download a freshly build /usr/ports/INDEX file, or
portupgrade won't know what the latest versions of things are.  Of
course, you'll have to 'pkg_add -r portupgrade' to install portupgrade
the first time.

        Cheers,

        Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

Attachment: pgphETex7BGE0.pgp
Description: PGP signature

Reply via email to