m.seaman at infracaninophile.co.uk
Sun Dec 23 03:03:20 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
> Something like
> portupgrade -fr perl
> is pretty hard to restart efficiently.
A good trick is to use the date comparison functionality portupgrade
provides. So you can do something like:
portupgrade -fr perl -x '>=perl'
meaning: update everything that depends on perl except any packages
installed after perl. That is restartable.
When you're doing forced upgrades of everything, as is necessary for
example when upgrading from 6.x to 7.0 then instead of doing
it's better to do:
portupgrade -f '<2007-12-23'
where 2007-12-23 is the date you did the system update. That command
can be restarted without wastefully re-recompiling a bunch of stuff --
although you should avoid updating any ports prior to but on the same
day as the system upgrade.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the freebsd-questions