Re: List of installed software packages: pkg_info?
- From: espie@xxxxxxxxx (Marc Espie)
- Date: Sun, 24 Jun 2007 15:09:24 +0000 (UTC)
In article <467c0b7b$0$333$e4fe514c@xxxxxxxxxxxxxx>,
Siem Korteweg <siem@xxxxxxxxx> wrote:
I did have a look at the bottom and found the versions of the products.
What I "really" wanted is a programmatic way of determining the software
inventory of a system. I am working on System Configuration Collector,
an open source product that collects configuration data from Unix/Linux/BSD
systems and adds detected changes to a logbook. That is why I was
looking at the output of pkg_info.
Guess that I should have mentioned that in the first place :(
What you're doing is not going to be really meaningful for OpenBSD.
Most time something changes in the base system, no version numbers are
updated. Your apache still says 1.3.29, but it's an heavily patched apache.
This is a typical issue: how do you define software version number ? you've
got the original source, then local patches, then possible interactions with
whatever else is installed on the machine... as far as external packages are
concerned, OpenBSD does a fairly good job of keeping track of stuff (we have
to, if nothing else, to be able to determine when to update), but nothing
similar exists for the base system.
For instance, if you *really* want to know what's the version of one of your
packages, you want to ask for its signature, which does record most things
needed to `recreate' the same package.
Other systems, like NetBSD, go even further in that respect (too far ?) and
actually record a full list of all ports files used to build a given package
(haven't checked if they actually record recursive dependencies).
.
- Follow-Ups:
- Re: List of installed software packages: pkg_info?
- From: Siem Korteweg
- Re: List of installed software packages: pkg_info?
- References:
- List of installed software packages: pkg_info?
- From: Siem Korteweg
- Re: List of installed software packages: pkg_info?
- From: Siem Korteweg
- Re: List of installed software packages: pkg_info?
- From: Joachim Schipper
- Re: List of installed software packages: pkg_info?
- From: Siem Korteweg
- List of installed software packages: pkg_info?
- Prev by Date: Re: need help choosing appropriate BSD distro
- Next by Date: Re: List of installed software packages: pkg_info?
- Previous by thread: Re: List of installed software packages: pkg_info?
- Next by thread: Re: List of installed software packages: pkg_info?
- Index(es):
Relevant Pages
|