Subject: Re: pkg upgrade
To: Marton Fabo <morton@eik.bme.hu>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 11/30/1999 02:44:24
On Tue, 30 Nov 1999, Marton Fabo wrote:

> Is there an easy way to upgrade an installed package to the most recent
> version in pkgsrc?

"make update"? It's not perfect, though. Care is required, especially
if you have old work directories lying around.

> Maybe all installed packages?

Hmmm. Not really, though that would be nice. For now, if there's not
too many, you can have something like this in /etc/mk.conf:

SPECIFIC_PKGS=		yes
SITE_SPECIFIC_PKGS=	shells/bash2 pkgtools/pkglibtool security/ssh \
			net/rsync x11/xearth 11/wmx \
			sysutils/psmisc

and so on, then "cd /usr/pkgsrc; make clean; make update" as root.