Power

 View Only
  • 1.  DNF Installation

    Posted 10/25/23 01:34 AM

    Hi Team,

    I have installed DNF on my AIX 7.2 server and it got installed successfully and after running the commands dnf update and dnf repolist i am getting following errors.

    # dnf update
    sh: dnf:  not found.

    # dnf repolist
    sh: dnf:  not found.

    In AIX 7.3 also i am getting following errors.

    Installing the packages...
     
    error: Failed dependencies:
            python3-gpgme is obsoleted by (installed) python3.9-gpg-1.13.1-64_3.ppc
            dnf = 4.2.17-64_4 is needed by yum-4.2.17-64_4.noarch
            dnf-data = 4.2.17-64_4 is needed by yum-4.2.17-64_4.noarch
     
    dnf installation failed.
    If the failure was due to a space issue, increase the size of /opt and re-run the script again.
    Another reason for failure could be mixing of Toolbox packages and packages from other sources.
     
    Please check the failure error, correct it and retry again.
    #

    Please suggest me to resolve the mentioned issues ASAP.



    ------------------------------
    Subba Reddy Reddem
    ------------------------------


  • 2.  RE: DNF Installation

    Posted 10/26/23 07:57 PM

    1) Check your path.

    # which dnf
    /opt/freeware/bin/dnf

    2) How are you installing packages if you could not run DNF?

    3)  How did you install DNF?

    Make sure you have used the right script.

    --> Visit Get Started to learn more about DNF and the dnf_aixtoolbox.sh install script.
    https://www.ibm.com/support/pages/node/6585774



    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 3.  RE: DNF Installation

    Posted 10/26/23 10:53 PM

    Hi Jan,

    Good Day !!!!

    for AIX 7.2

    1) # which dnf
    which: 0652-141 There is no dnf in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java7_64/jre/bin /usr/java7_64/bin.

    2) This is the first time i am trying to install dnf on my AIX servers.

    3) I have used above link to install the dnf and got the below error

    bash-5.1# ./dnf_aixtoolbox.sh -d

    Attempting download of dnf_bundle_aix_73.tar ...

    lwp-download: 500 Can't connect to public.dhe.ibm.com:443 (Bad hostname)

    Failed to download dnf_bundle_aix_73.tar

    Then i followed https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/02/09/creating-local-repo-with-dnf-and-aix-toolbox-media?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9 link and installed DNF after installing this it is showing installed successfully but i am not able to run dnf commands.



    ------------------------------
    Subba Reddy Reddem
    ------------------------------



  • 4.  RE: DNF Installation

    Posted 10/26/23 10:57 PM

    Hi Jan,

    For AIX 7.3

    I have got the same error for dnf path

    1) # which dnf
    which: 0652-141 There is no dnf in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java7_64/jre/bin /usr/java7_64/bin /opt/CA/SharedComponents/bin /opt/CA/SharedComponents/ccs/cam/bin.

    I have raised a support ticket with IBM for the curl vulnerability and they suggested me to install dnf on the server and after using dnf script i got the same error

    # ./dnf_aixtoolbox.sh -d

    Attempting download of dnf_bundle_aix_73.tar ...

    lwp-download: 500 Can't connect to public.dhe.ibm.com:443 (Bad hostname)

    Failed to download dnf_bundle_aix_73.tar

    IBM support has provided me the dnf bundle and from that bundle i am able to install the same and after the successful installation also i am not able to run dnf commands.



    ------------------------------
    Subba Reddy Reddem
    ------------------------------