AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  mkinstallp question

    Posted Tue July 21, 2009 10:19 AM

    Originally posted by: eckertd


    I've downloaded and built Net-SNMP source, created a template file and run mkinstallp. The resulting bff installs just fine. However, once the package is installed, 'lslpp -f' and 'lslpp -w' commands don't seem to show any result. Might I be missing something in the templatefile (stub below)?
    Package Name: net-snmp
    Package VRMF: 5.4.1.2
    Update: N
    Fileset
    Fileset Name: net-snmp.rte
    Fileset VRMF: 5.4.1.2
    Fileset Description: Net-SNMP
    Bosboot required: N
    ROOTLIBLPPFiles
    Pre-installation Script: /builds/net-snmp-5.4.1.2/net-snmp.rte.pre_i
    EOROOTLIBLPPFiles
    License agreement acceptance required: N
    Include license files in this package: N
    Requisites: *prereq openssl.base 0.9.8.840;*prereq openssl.man.en_US 0.9.8.840
    ;*prereq openssl.license 0.9.8.840
    USRFiles
    EOUSRFiles
    ROOT Part: Y
    ROOTFiles
    /opt
    /opt/freeware
    /opt/freeware/include
    /opt/freeware/include/net-snmp
    /opt/freeware/include/net-snmp/system
    <...>
    /opt/freeware/man/man8/snmptrapd.8
    /opt/freeware/man/man8/snmpd.8
    EOROOTFiles
    EOFileset


  • 2.  Re: mkinstallp question

    Posted Wed July 22, 2009 03:49 AM

    Originally posted by: Montecarlo


    The only thing that strikes me as different between your template and ones we use is that our ROOTLIBLPPFiles section follows our ROOT Part: entry. lslpp -f and -w work on our packages.
    Regards, Simon


  • 3.  Re: mkinstallp question

    Posted Thu July 23, 2009 01:27 PM

    Originally posted by: eckertd


    Thanks,

    I tried moving the ROOTLIBLPPFiles section inside the "ROOT Part:" section and re-ran mkinstallp. Same result:

    sbktesaix02# lslpp -l net-snmp.rte
    Fileset Level State Description

    Path: /usr/lib/objrepos
    net-snmp.rte 5.4.1.2 COMMITTED Net-SNMP

    Path: /etc/objrepos
    net-snmp.rte 5.4.1.2 COMMITTED Net-SNMP

    sbktesaix02# lslpp -f net-snmp.rte
    Fileset File

    Path: /usr/lib/objrepos
    net-snmp.rte 5.4.1.2 NONE

    Path: /etc/objrepos
    net-snmp.rte 5.4.1.2 NONE

    I'm sure I'm missing something...


  • 4.  Re: mkinstallp question

    Posted Thu July 23, 2009 02:41 PM

    Originally posted by: eckertd


    Got it.

    My version of bos.adt.insttools was 5.3.9.0

    APAR IZ46156 indicates mkinstallp creating blank/empty inventory file(s), so I upgraded to 5.3 TL10 and re-ran the mkinstallp.

    I've got a file listing with 'lslpp -f' now, as well as a proper reply to 'lslpp -w'

    Thanks all!