Subject: Re: Determening if a package is installed?
To: None <pkgsrc-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: pkgsrc-users
Date: 05/02/2007 15:39:55
On Wed, May 02, 2007 at 02:05:30AM +0200, Jan Danielsson wrote:
I have a file which looks like this:
[...]
> This is what I want to do: I want to be able to run
> lintpkgsrc/pkgdepgraph to generate a list of outdated packages, ...
cp -p <yourfile> /usr/pkgsrc/pkgchk_update-`hostname`.conf
pkg_chk -u -q
> ... then delete all the outdated packages and their dependencies.
pkg_chk -r
> Then finally loop through my file of the packages I want, check if
> they are installed already, and if they aren't, then build them.
pkg_chk -u
Kind regards
--
Matthias Scheler http://zhadum.org.uk/