Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2009 08:16:09 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: is there a way to upgrade Only ports that need it??
Message-ID:  <49E2E6B9.4040506@infracaninophile.co.uk>
In-Reply-To: <20090413055422.GA18063@thought.org>
References:  <20090413055422.GA18063@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB570B722D2275B5FAD66351D
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Gary Kline wrote:
> 	is there any way t o not upgrade "all installed ports", but only
> 	those that are not current? =20
>=20
> 	tired of having my main box grinding away for endless days....

This is what programs like portmaster and portupgrade are designed to
do.  If you update your ports tree by portsnap or csup, grab a fresh
INDEX by 'make fetchindex' and then run (eg):

   portupgrade -a

it will update in dependency order all of your installed ports where a
newer version is available.

There are occasional exceptions where this procedure is not sufficient:
these are documented in /usr/ports/UPDATING, including instructions on
what needs to be done to get up to date.  Even so, while UPDATING
frequently recommends reinstalling more ports than the regular procedure,=

it is still almost always a subset of your installed ports.

In fact, the only situation I have come across where is is required to
upgrade all of the ports on a machine is when upgrading over a major
version number.  Even that is a bit overkill -- there's no reason to
reinstall a port that consists of pure perl or php or shell code, or of
sets of images or other non-executable data.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enigB570B722D2275B5FAD66351D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkni5r8ACgkQ8Mjk52CukIzxigCeP3/o9laiZNS1+GDWLeOUVmOo
nEEAnRYGmSijpZYd7doRUBiHCbbBfITR
=SHo4
-----END PGP SIGNATURE-----

--------------enigB570B722D2275B5FAD66351D--



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