Subject: Re: Updating only pacakages against a packages repository?
To: Nuno Teixeira <nu@nunotex.freeshell.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 03/29/2005 16:09:50
In message <20050329204517.GB17945@nunotex.local>, Nuno Teixeira writes:
>
>Hello to all,
>
>It's a little bit strange to ask this because I know (I've learned) how
>to build my own packages with pkgsrc and how to update pkgsrc and
>packages created but I came to a doubt:
>
>My case: I use a fast PC to build all packages I need from scratch using
>pkgsrc. I use old slow PCs as client to install only packages from NFS.
>
>My question is: How to update all packages that need to be updating with
>pkg_add? I've read pkg_add and I've found "pkg_add -u" and "pkg_add -uu"
>(to update dependencies as well) but I don't know how to get a list of
>packages that need to be update, like "lintpkgsrc -i" against pkgsrc.
>
>Maybe use "*" wildcard in `pkg_add -uu "*"` ?
>
>It is possible to make check this against a NFS repository?
>
>Sorry for my *long" question. I don't know how to say this in shorter
>way.

Use lintpkgsrc and pkgdepgraph -- the latter has an option to make it 
consult a repository instead of building from source.

		--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb