List of Installed patches for AIX from given set of patches


 
Thread Tools Search this Thread
Operating Systems AIX List of Installed patches for AIX from given set of patches
# 1  
Old 08-17-2012
List of Installed patches for AIX from given set of patches

I need to find out list of installed patches from given list of patches.
I have tried using instfix -f <File containing list of patches> -i -c
But I was not able to understand the output of this command. It was like below.

bos.perf.tools: :0.0.0.0:?:
bos.rte.libc: :0.0.0.0:?:
invscout.rte: :0.0.0.0:?:
devices.pci.14106902.rte: :0.0.0.0:?:
X11.apps.xdm: :0.0.0.0:?:
bos.mp64: :0.0.0.0:?:
devices.chrp.base.diag: :0.0.0.0:?:
devices.fcp.disk.rte: :0.0.0.0:?:
X11.base.rte: :0.0.0.0:?:
bos.adt.prof: :0.0.0.0:?:
bos.rte.control: :0.0.0.0:?:
devices.scsi.tape.diag: :0.0.0.0:?:
bos.mls.cfg: :0.0.0.0:?:
bos.rte.serv_aid: :0.0.0.0:?:

It did returned result with respect to given file but how do I know which one is installed and which one is not from this output? Or is there any other way to find this?

Thanks.
# 2  
Old 08-17-2012
Create a list of all installed filesets using the lslpp command. Since you intend to analyse it by a script i suggest you use the "-c" switch, which gives a colon-separated one-line-per-fileset output ideally suited to using it in scripts.

Then use a grep -f <your.list.file> <fileset.list> of some sorts to find the filesets on your lists which are installed - misses will be not installed at all.

Depending on the exact format of your list you will have to tweak this general sketch into a script, but the idea should be obvious.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 3  
Old 08-17-2012
if you check an installed patch, output looks like:

Code:
IY64319:devices.common.IBM.atm.rte:5.3.0.10:5.3.12.2:+:new function
IY64319:devices.common.IBM.ethernet.rte:5.3.0.10:5.3.12.3:+:new function
IY64319:devices.common.IBM.fc.rte:5.3.0.10:5.3.12.3:+:new function
IY64319:devices.common.IBM.fddi.rte:5.3.0.10:5.3.11.0:+:new function
IY64319:devices.common.IBM.hdlc.rte:5.3.0.10:5.3.11.0:+:new function
IY64319:devices.common.IBM.tokenring.rte:5.3.0.10:5.3.11.0:+:new function

check without -c,
looks like:
Code:
# instfix -f patches -i
    All filesets for IY64282 were found.
    All filesets for IY64291 were found.
    All filesets for IY64312 were found.
    All filesets for IY64319 were found.
    There was no data for IY32492 in the fix database.


to see whats installed use lslpp as bakunin wrote
This User Gave Thanks to funksen For This Post:
# 4  
Old 08-22-2012
Just by-the-by.....regarding instfix and it's usefulness.

Post upgrade/installation I usually do a:

Code:
instfix -ic | grep ML | grep 5300-12 | grep ":-:"

Looking for the ":-:" shows you the filesets that are "known" to the system, but not at the known (higher) ML/TL.
This is useful when you have installed an oslevel, but
Code:
 oslevel -s

is not showing you what you believe to be an accurate post-installation oslevel.
This is normally down to a handful of filesets not in your install or lpp_source.

An example, host installed with TL12 Concluding Service Pack (5) for 5.3, updated from TL8, but reporting TL11!

Code:
root:host1:/$ instfix -ic | grep ML | grep 5300-12 | grep ":-:"
5300-12_AIX_ML:xlsmp.aix53.rte:1.8.0.3:1.8.0.1:-:AIX 5300-12 Update
root:host1:/$ oslevel -s
5300-11-08-1140

So I need to grab that fileset and update it.

Off topic a bit but a useful thing to be aware of the ":-:" meaning in instfix output Smilie
# 5  
Old 08-22-2012
Quote:
Originally Posted by gts1999
An example, host installed with TL12 Concluding Service Pack (5) for 5.3, updated from TL8, but reporting TL11!
That's right. "oslevel" and similar tools always report the "lowest common denominator" - the fileset with the lowest patch level. If you have the whole system at TL12 and one fileset at TL11, then TL11 is reported. See also the pinned thread at the top of our board, where this is explained in detail.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

List of patches and date installed

Does anyone know of a command that would show the list of patches installed and the date it was installed? My understanding is that "showrev -p" would show patches but not the date they were installed. I'm looking for this on a Solaris 10 server. Thanks. (2 Replies)
Discussion started by: ixauditor
2 Replies

2. Solaris

need help with message: no patches installed

Hi Folks, I am getting the following error when trying to see installed patches on my Solaris 9 system :wall: # patchadd -p No patches installed # Any help will be much appreciated Thanks in advance (1 Reply)
Discussion started by: momin
1 Replies

3. HP-UX

Patches hp-ux

Hi, I donīt have support HP, so I donīt get download patches on itrc. Somebody know a free site to download HP-UX patches? (3 Replies)
Discussion started by: quimera
3 Replies

4. AIX

applying patches in aix 5.3

Hi Admins, Basically i am HPUX guy.HP will release patch bundles every three months and the same we are applying on servers as proactive steps. Please let me know how it happens with AIX. My servers are AIX 5.3 with TL 10 and some are TL 7. These servers are installed 2 years back and... (1 Reply)
Discussion started by: newaix
1 Replies

5. AIX

file set not getting installed in aix

Hi One of the file set is not getting installed in aix. ========================================================================================= cbspsap01:/ # lppchk -v lppchk: The following filesets need to be installed or corrected to bring the system to a consistent state:... (1 Reply)
Discussion started by: newtoaixos
1 Replies

6. AIX

OS Patches installed but they seem as not installed

Hello everyone: I've installed an OS patch into AIX 6.1 by running the following command: instfix -d /tmp/6100-02-03 -k "IZ41855" however it seem not installed instfix -i -k "IZ41855" There was no data for IZ41855 in the fix database. what am I doing wrong? (8 Replies)
Discussion started by: edgarvm
8 Replies

7. AIX

command to list all installed patches

hi all i need an command to list all installed patches in aix 5.3 (5 Replies)
Discussion started by: maxim42
5 Replies

8. Solaris

OS patches

Hi all, I am working on SUN-fire server solaris-10 How to find out what & how much " OS patches " installed on it?? plz help me out .:( (3 Replies)
Discussion started by: saurabh84g
3 Replies

9. Solaris

How to find out installed patches on Sun5.9

Hi Unix Experts, I'm told to install WebSphere MQ on Sun 5.9 box. Before I install it, my task is to find out what OS patches have already installed on the box. I tried pkginfo -i command but it gives all of the packages installed. I want to find out a specific patch has been installed or... (1 Reply)
Discussion started by: hkhan12
1 Replies

10. UNIX for Dummies Questions & Answers

how to see all installed PATCHES

Hi all I am using HPUX11.00 i want to know how to see all installed PATCHES ..and also to see any perticular patch has been installed or not solaris showrev -p does not work in HPUX please suggest any command thanks praful (1 Reply)
Discussion started by: Prafulla
1 Replies
Login or Register to Ask a Question