Subject: Re: Updating packages
To: None <pkgsrc-users@netbsd.org>
From: Johann Franz <jfranz@bsdprojects.net>
List: pkgsrc-users
Date: 12/13/2006 20:59:04
--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 13, 2006 at 01:12:39PM -0500, Trey Sizemore wrote:
> Looking for resources/best practices with updating packages on my
> NetBSD 3.1 box.  I currently have downloaded the 6006-Q3 pkgsrc but may
> want to update some of the packages to those in -current (kde 3.5.4 to
> 3.5.5 for instance).



Updating all packages is a tricky process, so having an oversimplified port=
upgrade is not necessarily the best solution.  There are different options:
- simple make update/replace (thought it's advisable to backup the old pack=
age, or use make package, in case it fails)=20
- pkg_chk -g and pkg_chk -u
- pkgmanager
- pkg_comp's chroot
- straight sandboxing with the scripts in pkgsrc/mk/bulk/
- my preferred method: pkgdepgraph (look at the EXAMPLES in the man page)

--=20

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFgFuIF4uYH7Y/ZS4RAo0JAJ9De4iUCqQsTS0ztpBXxa002OBPGQCgjRJN
6P3/SFp668vt11H+KCLXyhE=
=3PTi
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--