How to update_all from Command Line


Environment

OS Level: 4.1.5
Type/Model: 43p

Problem

How do you update_all from the command line?

Solution

  1. Create an ASCII file that lists all the software you have installed. Use lslpp -l, redirect it to a output file, and edit it so it looks something like:
      bos.rte.install
      bos.sysmgt.sysbr
      .....
    
    This file will have the fileset or package name, one per line.

  2. Run the installp with the -f flag. For example:
           installp -agXd/dev/cd0 -e /tmp/install.log -f/<path>/<file>
    
    <file> is the ASCII file created in step 1, and the use of the -e flag logs the output to /tmp/install.log.



[ Doc Ref: 93637926013568     Publish Date: Oct. 01, 1999     4FAX Ref: none ]