Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2007 11:03:11 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        RW <fbsd06@mlists.homeunix.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Updating ports
Message-ID:  <476E406F.2040200@infracaninophile.co.uk>
In-Reply-To: <20071223023853.11ab60e6@gumby.homeunix.com.>
References:  <221c791e0712220839v67a02e78q7cd5519f9b05a210@mail.gmail.com>	<200712230119.30705.peter.schuller@infidyne.com>	<1922FF4D9B0F57F56811A4DC@paul-schmehls-powerbook59.local> <20071223023853.11ab60e6@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

RW wrote:

> 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

  portupgrade -fa

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.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
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

iD8DBQFHbkBv8Mjk52CukIwRCI8qAJ4wIIonoNf2QTeNcNvEhVrU+QnKtACeL/m/
T3UifmkMWme9wj9Q4J4ol7E=
=you9
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?476E406F.2040200>