AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Error when running ./dnf_aixtoolbox.sh -d

    Posted Mon October 07, 2024 08:09 PM

    After AIX upgrade, some of the application perl scripts were not running, so i decide to follow below steps to get this fixed. 

    > tar -cvf freeware.backup.tar freeware

    >./remove_rpm.sh

    >installp -qaXFY -d . rpm.rte

    # lslpp -l |grep -i rpm.rte
      rpm.rte                4.15.1.2011  COMMITTED  RPM Package Manager
      rpm.rte                4.15.1.2011  COMMITTED  RPM Package Manager

    And when i run the below command, I am getting the error. 

    # ./dnf_aixtoolbox.sh -d
    Attempting download of dnf_bundle_aix_73.tar ...
    lwp-download: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)
    Failed to download dnf_bundle_aix_73.tar

    Appreciate any help. 

    Thanks,

    Ak



    ------------------------------
    Akbar Khan
    ------------------------------


  • 2.  RE: Error when running ./dnf_aixtoolbox.sh -d

    Posted Wed October 09, 2024 01:30 PM

    Any idea community folks about this issue ? 



    ------------------------------
    Akbar Khan
    ------------------------------



  • 3.  RE: Error when running ./dnf_aixtoolbox.sh -d

    Posted Thu October 10, 2024 01:34 AM

    Hi,

    "

    # lslpp -l |grep -i rpm.rte
      rpm.rte                4.15.1.2011  COMMITTED  RPM Package Manager
      rpm.rte                4.15.1.2011  COMMITTED  RPM Package Manager

    And when i run the below command, I am getting the error. 

    # ./dnf_aixtoolbox.sh -d
    Attempting download of dnf_bundle_aix_73.tar ...

    "

    >> Did you upgrade to AIX72 or to AIX73 ?

    If to AIX7.3 , U have wrong rpm.rte, for AIX7.3 it is  4.18.x.x

    I would recommend fetching correct DNF bundle from here:

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/

    dnf_bundle_aix_71_72_v7.tar 

    (if you are on AIX72)

    or 

    dnf_bundle_aix_73_v12.tar

    (if you are on AIX73)

    First make backup of /opt/freeware/etc/dnf/dnf.conf
    Then uninstall all of "DNF related" packages including their dependencies using rpm (rpm -ehv pkg1 pkg2 ...).
    Then Install DNF back from DNF bundle with ./install_dnf.sh -y  and put dnf.conf back

      

      



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    Tietoevry Tech Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 4.  RE: Error when running ./dnf_aixtoolbox.sh -d

    Posted Thu October 10, 2024 07:37 PM

    What is the level of your  openssl.base fileset? If it is down level, you may need to update it to a more recent, supported level.



    ------------------------------
    Chris Gibson
    ------------------------------



  • 5.  RE: Error when running ./dnf_aixtoolbox.sh -d

    Posted Thu October 10, 2024 07:47 PM

    Thank you Tommi and Chris for your response. I really appreciate it. 

    I downloaded the dnf tool kit ISO which was about 6.6G and created a local repo and mounted it and have re-installed rpm.rte and all the other required packages.



    ------------------------------
    Akbar Khan
    ------------------------------