AIX

AIX

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


#Power
#Power
 View Only
Expand all | Collapse all

Error running rpm command

  • 1.  Error running rpm command

    Posted Fri February 19, 2016 07:11 AM

    Originally posted by: robinsguk


    oslevel -s    7100-04-01-1543

    lslpp -l|grep rpm         rpm.rte 3.0.5.52

    rpm --version       RPM version 3.0.5

     

    I've followed the AIX toolbox README and downloaded wget and the getbase.sh commands.

    In my ezinstall/ppc/base folder I have:

    bzip2-1.0.5-3.aix5.3.ppc.rpm
    gettext-0.10.40-8.aix5.2.ppc.rpm
    gzip-1.2.4a-10.aix5.2.ppc.rpm
    info-4.6-1.aix5.1.ppc.rpm
    patch-2.5.4-4.aix4.3.ppc.rpm
    popt-1.16-3.aix6.1.ppc.rpm
    rpm-4.9.1.3-3.aix6.1.ppc.rpm
    rpm-build-3.0.5-52.aix5.3.ppc.rpm
    rpm-devel-4.9.1.3-3.aix6.1.ppc.rpm
    tar-1.22-1.aix6.1.ppc.rpm
    unzip-5.51-2.aix6.1.ppc.rpm
    zip-2.3-3.aix4.3.ppc.rpm

     

    When I run the rpm -Uvh ezinstall/base/* I get an error.

    error: failed dependencies:
            bash   is needed by info-4.6-1
            db <= 4.8.24 is needed by rpm-4.9.1.3-3
            file-libs <= 5.12 is needed by rpm-4.9.1.3-3
            nss <= 3.14.3 is needed by rpm-4.9.1.3-3
            nspr <= 4.9.5 is needed by rpm-4.9.1.3-3
            readline <= 6.2 is needed by rpm-4.9.1.3-3
            lua <= 5.1.5 is needed by rpm-4.9.1.3-3
            /bin/bash is needed by rpm-4.9.1.3-3
            libdb.so is needed by rpm-4.9.1.3-3
            liblua.a(liblua-5.1.so) is needed by rpm-4.9.1.3-3
            libmagic.a(libmagic.so.1) is needed by rpm-4.9.1.3-3
            libnss3.so is needed by rpm-4.9.1.3-3
            rpm = 3.0.5 is needed by rpm-build-3.0.5-52
            /bin/bash2 is needed by rpm-build-3.0.5-52
            libdb.so is needed by rpm-devel-4.9.1.3-3
            libnss3.so is needed by rpm-devel-4.9.1.3-3

     

    So now I'm confused. Where are these dependencies? I thought the getbase.sh process downloaded all the required rpms for this to work? I'm pretty sure I didn't hit this issue when I installed the AIX toolbox a few years ago,

     

    Thanks

    Glenn

     


    #AIX-Forum


  • 2.  Re: Error running rpm command

    Posted Fri February 26, 2016 07:43 AM

    Originally posted by: sangameshm


    Hi Robin,

    Thanks for reporting this error.

    Due to some packages update, mainly rpm package, their has been some extra dependencies are being added.

    Newer version of rpm requires extra dependencies than the one we listed it in getbase.sh script.

    We will soon update getbase.sh script to meet all the required dependency.

     

     


    #AIX-Forum


  • 3.  Re: Error running rpm command

    Posted Wed March 30, 2016 09:04 AM

    Originally posted by: robinsguk


    Hello,

     

    Any update on when getbase.sh will be updated to meet the required dependancy?

     

    Thanks

    Glenn


    #AIX-Forum


  • 4.  Re: Error running rpm command

    Posted Tue May 31, 2016 03:08 PM

    Originally posted by: sangameshm


    Hi,

     

    Sorry for the delay.

    getbase.sh has been updated now to get the latest version of packages and it's dependencies.

     

    Thanks,

    Sangamesh


    #AIX-Forum