From owner-freebsd-questions@FreeBSD.ORG Sun Dec 23 11:03:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81C8F16A420 for ; Sun, 23 Dec 2007 11:03:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 06A2B13C468 for ; Sun, 23 Dec 2007 11:03:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id lBNB3Bjr018509; Sun, 23 Dec 2007 11:03:12 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <476E406F.2040200@infracaninophile.co.uk> Date: Sun, 23 Dec 2007 11:03:11 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: RW References: <221c791e0712220839v67a02e78q7cd5519f9b05a210@mail.gmail.com> <200712230119.30705.peter.schuller@infidyne.com> <1922FF4D9B0F57F56811A4DC@paul-schmehls-powerbook59.local> <20071223023853.11ab60e6@gumby.homeunix.com.> In-Reply-To: <20071223023853.11ab60e6@gumby.homeunix.com.> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 23 Dec 2007 11:03:12 +0000 (GMT) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Updating ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2007 11:03:20 -0000 -----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-----