Power

 View Only
  • 1.  lppchk question

    Posted Thu January 04, 2024 05:39 PM

    I was having an issue with needing to update some filesets as reported by lppchk.  It was really a self induced problem and I know how to correct it. One question during the process was which filesets were requiring openssl 3x?  lppchk -v -m2 should provide that list however, running that I would get a list of many filesets most of which did not have that dependency.  Below is a few outputs demonstrating this annomaly. I'm using perl.* to limit the output to only perl modules and keep the list short.  If I did not limit the list to perl the list is quite long but not all the filesets.

    First list the dependency errors.

    mvsx1:/home/rinn/scripts# lppchk -v
    lppchk:  The following filesets need to be installed or corrected to bring
             the system to a consistent state:

      openssl.base 3.0.8.1000                 (not installed; requisite fileset)
      openssl.base 3.0.0.0                    (not installed; requisite fileset)
      openssl.base 1.1.2.0                    (not installed; requisite fileset)

    Ok - openssl is the problem.

    We confirm this with an lslpp

    mvsx1:/home/rinn/scripts# lslpp -l |grep openssl
      openssl.base            1.1.1.2200  COMMITTED  Open Secure Socket Layer
      openssl.license         1.1.1.2200  COMMITTED  Open Secure Socket License
      openssl.man.en_US       1.1.1.2200  COMMITTED  Open Secure Socket Layer
      openssl.base            1.1.1.2200  COMMITTED  Open Secure Socket Layer

    Which filesets are requesting the above.  Looked at the lslpp -d list and we fine perl.rte and bos.sysmgt.nim.client have prereqs for openssl 3.  We should be able to get this from lppchk -m2 -v.

    To limit the output just look at all the perl modules.  We know only perl.rte should be listed but we get others that do not have the dependency base of the lslpp output.

    mvsx1:/home/rinn/scripts# lppchk -v -m2 perl.*
    lppchk:  The following filesets need to be installed or corrected to bring
             the system to a consistent state:

      openssl.base 3.0.8.1000                 (not installed; requisite fileset)

    lppchk:  The following describes dependencies from installed filesets
             on one or more of the filesets listed above:

    Fileset perl.libext 2.4.3.15 requires:
      openssl.base 3.0.8.1000
      openssl.base 12.9.8.2506

    Fileset perl.libext 2.4.5.0 requires:
      openssl.base 3.0.8.1000
      openssl.base 12.9.8.2506

    Fileset perl.rte 5.28.1.7 requires:
      openssl.base 3.0.8.1000
      openssl.base 12.9.8.2506

    Anybody seen this issue?

    Tried this on another system which has some dependency errors and the output is correct.

    AIX 7200-05-07



    ------------------------------
    Jim Rinn
    ------------------------------