From owner-freebsd-questions@FreeBSD.ORG Mon Jul 2 02:59:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1721116A421 for ; Mon, 2 Jul 2007 02:59:57 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id DB9B613C448 for ; Mon, 2 Jul 2007 02:59:56 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from rigel.dfwlp.com (rigel.dfwlp.com [192.168.125.81]) (authenticated bits=0) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id l622xsLV039689 for ; Sun, 1 Jul 2007 21:59:54 -0500 (CDT) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Sun, 1 Jul 2007 21:59:53 -0500 User-Agent: KMail/1.9.6 References: <20070629231452.GK18911@tigger.digitaltorque.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707012159.54177.freebsd@dfwlp.com> X-Spam-Status: No, score=-3.9 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on pollux.dfwlp.com Subject: Re: running portupgrade -a 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: Mon, 02 Jul 2007 02:59:57 -0000 On Sunday 01 July 2007 17:19:22 illoai@gmail.com wrote: > On 29/06/07, Michael P. Soulier wrote: > > Hi, > > > > It seems like a lot of people keep their ports regularly up to date by > > just running portupgrade -a. I've seen it online, and in books. > > > > As /usr/ports/UPDATING is rather large, it seems impossible to look for > > potential issues with every package that you're going to upgrade. So, is > > running portupgrade -a a good idea, as you likely haven't checked for > > issues for your system? > > I generally run pkg_version -vIL= after any portsnap > which gives me a simple list of things to upgrade. > Then, based on a lot of broken stuff over the years, > you can merrily pick your way through. For something > like cairo or gtk* (or gettext), that many other things > depend upon I will run > # portupgrade -fr cairo > Part of this is the whole "upgrade once every couple > of weeks or oft'ner" so you don't get overwhealmed > by the number of upgrades at any time. > ports-mgmt/portmaster has a nifty feature in "-l" but > does not seem to have any equivalent to portupgrade -fr. i have another good one for sorting out what needs to be updated: pkg_version -v|grep needs this will show only the ports that need to upgraded. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd@dfwlp.com