Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2007 21:59:53 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: running portupgrade -a
Message-ID:  <200707012159.54177.freebsd@dfwlp.com>
In-Reply-To: <d7195cff0707011519q16371101tb0d6f05fecddb98a@mail.gmail.com>
References:  <20070629231452.GK18911@tigger.digitaltorque.ca> <d7195cff0707011519q16371101tb0d6f05fecddb98a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 01 July 2007 17:19:22 illoai@gmail.com wrote:
> On 29/06/07, Michael P. Soulier <msoulier@digitaltorque.ca> 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



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