Subject: Re: Best way to keep you pkgsrc software up2date
To: David Rio Deiros <driodeiros@gmail.com>
From: Nuno Teixeira <nu@nunotex.freeshell.org>
List: netbsd-users
Date: 02/19/2005 14:24:36
Hello,
I tried this way and I ilke it. I will use it too.
Thanks,
Nuno Teixeira
On Fri, Feb 18, 2005 at 09:27:58PM -0800, David Rio Deiros wrote:
> > >> 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.
>
> David.
--
SDF Public Access UNIX System - http://sdf.lonestar.org