Retrieving AIX Packages

(imported topic written by SystemAdmin)

I need to retrieve a list of package and versions from AIX. I looked over the inspectors documentation for AIX, but did not find anything regarding installed packages. Am I just blind? How would I accomplish this?

Thank you!

(imported comment written by SystemAdmin)

Found it on page 86 of http://support.bigfix.com/fixlet/documents/AIX%20Inspectors%2081_110706.pdf (Installed System Software). Guess I was a bit blind.

(imported comment written by SystemAdmin)

*page 89

(imported comment written by SystemAdmin)

How am I able to retrieve version information for all packages? The following only retrieves the name.

(it as string) of products of object repository

(imported comment written by SystemAdmin)

I am looking for something like “lslpp -Lc”

Sorry for all the double posting, I can’t find a way of editing posts, otherwise I would just expand.

(imported comment written by SystemAdmin)

I really wish there was an edit feature so I could stop double posting.

I now have

(
    lpp_name of it , version of it as string 
)
of filesets of products of object repository

but am finding that there are multiple packages by the same name. Is that expected? I am just looking for installed packages, not every available package which I am worried it’s giving me.

(imported comment written by SystemAdmin)

Have you looked at the documentation for a bit of help?

http://support.bigfix.com/inspectors/Filesystem%20Objects_AIX.html#fileset

There can be multiple packages with the same name I believe as you install different versions of the package. Not an expert here but I believe I have seen the same thing.

(imported comment written by DorothyLabbe)

I am having trouble with the syntax for…

latest fileset of

I want “” to be the lpp_name of the fileset however the query,

(latest fileset (lpp_name of it) of it) of filesets of object repository

Produces the error “latest fileset not defined”

Should I start a new thread with this question?

Also, looks my name was swapped with sbhupe’s on several posts.