the art of pkgdb -F

Joel Hatton freebsd-questions at auscert.org.au
Thu Mar 29 01:40:11 UTC 2007


Hi,

On Wed, 28 Mar 2007 20:34:00 -0400, "Michael P. Soulier" wrote:
>
>Now, I've been upgrading ports via
>
>portupgrade -R <port>
>
>as suggested in the handbook. As -R upgrades only those packages that require
>those supplied, and not those that it requires, would that cause it?

Be careful with your syntax: '-R' isn't consistent between pkg_info and
portupgrade:  Running 'pkg_info -R' will downward recurse, or show
dependencies of the port in question, but 'portupgrade -R' will upward
recurse and upgrade every port on which it depends - which often causes a
_lot_ of ports to be rebuilt and is, in fact, the opposite of your
description above. I've been caught by this before...

regards
-- Joel Hatton --
Infrastructure Manager              | Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax:     +61 7 3365 7031
The University of Queensland        | WWW:     www.auscert.org.au
Qld 4072 Australia                  | Email:   auscert at auscert.org.au


More information about the freebsd-questions mailing list