pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Determening if a package is installed?
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/
Home |
Main Index |
Thread Index |
Old Index