Saturday, 6 April 2013

AIX Install packages, upgrade, patching commands

To see the details of installed file sets:
#lslpp -l
To list the installation history of all file set in packages:
#lslpp -ha*
To list the files in the bos.rte package:
#lslpp -f bos.rte
To list the file set which contain /etc/hosts file:
#lslpp -w /etc/hosts
To list the pre requisites for file set:
#lslpp -p
To list the installable products on the device rmt0:
#installp -L -d /dev/rmt0.1
To install all filesets within and expands file system if it requires:
#installp -aX -d /dev/rmt0.1
To remove
#installp -u
To reject the applied software:
#installp -r
To commit the <package>:
#installp -c -f <package>
To cleanup an incomplete installation:
#installp -C
To check the <package>:
#lppchk -c <package> Verifies that the / (root), /usr and /usr/share parts of the system are valid with each other: #lppchk -v
To install the file set associated with fix IX9999 from rmt0:
#instfix -k IX9999 -d /dev/rmt0.1
To verify fix IY6969 installed:
#instfix -ik IY6969
How to display missing filesets from service pack:
#instfix -icqv | grep ':-:'
To verify if you have all packages installed for the current ML and why after upgrade you cannot see the newer version:
# instfix -i |grep ML
    All filesets for 6100-00_AIX_ML were found.
    All filesets for 6100-01_AIX_ML were found.
    All filesets for 6100-02_AIX_ML were found.
    All filesets for 6100-03_AIX_ML were found.
    All filesets for 6100-04_AIX_ML were found.
    All filesets for 6100-05_AIX_ML were found.
    All filesets for 6100-06_AIX_ML were found.
    All filesets for were found.
    Not all filesets for 6100-07_AIX_ML were found.
# oslevel -s

1 comment:

  1. very useful !! thank you for share it with all