Subject: Determening if a package is installed?
To: None <firstname.lastname@example.org>
From: Jan Danielsson <email@example.com>
Date: 05/02/2007 02:05:30
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-1
I have a file which looks like this:
It's simply a file which lists all the packages I want to have install=
This is what I want to do: I want to be able to run
lintpkgsrc/pkgdepgraph to generate a list of outdated packages, then
delete all the outdated packages and their dependencies. 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. (I'm doing all this in a
The problem I keep running into is that I am unable to determine if a
package is installed using the pkgsrc path. Everything assumes that I
have the package name, which isn't always true (for instance, the
installed package is called py24-psycopg2).
Any other solution to get this done is appreciated. I would like to
be able to automate my pkgsrc update procedure in my chroot.
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
-----END PGP SIGNATURE-----