Subject: Re: Best way to keep you pkgsrc software up2date
To: None <firstname.lastname@example.org>
From: David Rio Deiros <email@example.com>
Date: 02/18/2005 21:27:58
> >> 2. pkgtools/pkg_chk:
> >> pkg_chk -i
> >> pkglint-4.05: version mismatch - pkglint-4.04
> >> netpbm-10.26.3: version mismatch - netpbm-10.26.1
> >> This tool can update your programs that need to be upgraded with:
> >> pkg_chk -u (e.g.)
> >Great! That's what I was looking for!
> I don't recommend this path. Note what it says about extra rebuilds in
> the BUGS section. A better path is to use pkgdepgraph:
> lintpkgsrc -i >/tmp/out_of_date
> pkgdepgraph -D /tmp/out_of_date >/tmp/delete
> pkgdepgraph -R /tmp/out_of_date >/tmp/rebuild
> pkg_delete `cat /tmp/delete`
> sh /tmp/rebuild
> The risk you take is that something won't rebuild...
Umm.. Thanks for the advice Steven. I'll use this way.