RE: Listing packages on hosts or hosts with packages

"Shprentz, Joel [C] " <[email protected]> Thu, 18 Dec 2003 14:00:50 -0500
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <03C99297F33C9648AF9E24FF90FCCD2A02154F56@cluwsh04.gold.rtgold.nima.mil>
Will P writes:
> Note that the questions could be answered in two subtly
> different ways: (a) looking at what the state says [as you
> suggest], and (b) looking at the ARK source, which tells you
> what the state *should* say :-).  If you're lucky, the two
> say the same thing.

Reality (a) has a tendency to drift from the ideal (b).  Some examples:

Ideal:  installed
Actual:  missing
Reason:  Host was down when package was installed.
Another reason:  Have not run "ark package install" yet.

Ideal:  indeterminant
Actual:  missing or installed
Reason:  Packages marked "deprecated" may or may not be installed

Thanks for the script.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click