AIX Open Source

 View Only
Expand all | Collapse all

dnf dependencies / requirements in AIX 7.3

  • 1.  dnf dependencies / requirements in AIX 7.3

    IBM Champion
    Posted Thu January 27, 2022 05:40 AM

    Dear Team,

    since AIX 7.3 comes with bash and python3.9, why do we still need both packages from the AIX Toolbox to install dnf?
    I thought the installation package of dnf for 7.3 would have updated requirements...

    Is there a special reason for having bash and python3 installed in both versions?

    Many thanks in advance.

    Best regards,

    Joerg



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------


  • 2.  RE: dnf dependencies / requirements in AIX 7.3

    Posted Fri January 28, 2022 06:36 AM
    Hi Joerg,

    We didn't want to mix toolbox and AIX default packages.
    It would be difficult to manage and satisfy the requirements.
    If DNF to have dependency on AIX 7.3 python3.9 then we needed to have a different set of DNF and it's dependencies.

    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: dnf dependencies / requirements in AIX 7.3

    IBM Champion
    Posted Fri January 28, 2022 09:50 AM

    Hi Sangamesh,

    thanks for your quick answer... it makes sense, yes.
    Another question just popped up.

    Why is the "reposync" plugin installed when I updated from yum, but not included when I installed dnf from the green flield?
    I guess it has something to do with the install option "-d" and "-y". While "-y" installs two rpms more than the "-d" option...

    Green field installation;
    rpm -qa | grep dnf | sort
    dnf-4.2.17-32_1.noarch
    dnf-automatic-4.2.17-32_1.noarch
    dnf-data-4.2.17-32_1.noarch
    libdnf-0.39.1-32_1.ppc
    python3-dnf-4.2.17-32_1.noarch
    python3-libdnf-0.39.1-32_1.ppc

    And update from yum:
    rpm -qa | grep dnf | sort
    dnf-4.2.17-32_1.noarch
    dnf-automatic-4.2.17-32_1.noarch
    dnf-data-4.2.17-32_1.noarch
    libdnf-0.39.1-32_1.ppc
    python3-dnf-4.2.17-32_1.noarch
    python3-dnf-plugin-migrate-4.0.16-32_1.noarch
    python3-dnf-plugins-core-4.0.16-32_1.noarch
    python3-libdnf-0.39.1-32_1.ppc

    The python3-dnf-plugin-migrate-4.0.16-32_1.noarch and python3-dnf-plugin-migrate-4.0.16-32_1.noarch is installed additionally to the other packages.
    Is it wanted like that?

    Can I get the additional packages via dnf from the toolbox?

    Thanks again for your support...

    Best regards,

    Joerg



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------



  • 4.  RE: dnf dependencies / requirements in AIX 7.3

    Posted Fri January 28, 2022 10:06 AM
    Hi Joerg,
    reposync is part of yum-utils package which is built for yum-3. For dnf we will have different version of reposync and we are working on this and soon that will be available for dnf as well. Current yum-utils will not work with dnf/yum-4.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 5.  RE: dnf dependencies / requirements in AIX 7.3

    IBM Champion
    Posted Wed March 02, 2022 05:18 AM
    Hi Sanket, do you have any update on when DNF reposync will be available for clean installation of DNF? Thanks.

    ------------------------------
    Martin Boban
    ------------------------------



  • 6.  RE: dnf dependencies / requirements in AIX 7.3

    Posted Wed March 02, 2022 06:16 AM
    Hi Martin,

    We are testing repoync and other utilities and hoping to upload it by end of this month.

    ------------------------------
    SANGAMESH
    ------------------------------



  • 7.  RE: dnf dependencies / requirements in AIX 7.3

    IBM Champion
    Posted Thu April 21, 2022 07:26 AM
    Hi Sangamesh,

    any update on DNF repoync?

    Thanks,

    Martin


    ------------------------------
    Martin Boban
    ------------------------------



  • 8.  RE: dnf dependencies / requirements in AIX 7.3

    Posted Wed April 27, 2022 07:51 AM
    Hi Martin,

    You can now install dnf-utils which provides reposync command.
    Either you can use dnf reposync or /opt/freeware/bin/reposync

    ------------------------------
    SANGAMESH
    ------------------------------



  • 9.  RE: dnf dependencies / requirements in AIX 7.3

    IBM Champion
    Posted Wed April 27, 2022 09:03 AM
    Hello Sangamesh,

    I cant find dnf-utils ...

    dnf provides reposync
    Last metadata expiration check: 0:05:44 ago on Wed Apr 27 15:00:26 CEST 2022.
    yum-utils-1.1.31-1.noarch : Utilities based around the yum package manager
    Repo : AIX_Toolbox_noarch
    Matched from:
    Filename : /usr/bin/reposync

    yum-utils-1.1.31-2.noarch : Utilities based around the yum package manager
    Repo : AIX_Toolbox_noarch
    Matched from:
    Filename : /usr/bin/reposync

    dnf repolist
    repo id repo name
    AIX_Toolbox AIX generic repository
    AIX_Toolbox_71 AIX 7.1 specific repository
    AIX_Toolbox_72 AIX 7.2 specific repository
    AIX_Toolbox_noarch AIX noarch repository

    Martin


    ------------------------------
    Martin Boban
    ------------------------------



  • 10.  RE: dnf dependencies / requirements in AIX 7.3

    Posted Wed April 27, 2022 09:32 AM
    Hi Martin,

    It is provided by dnf-utils package. 

    # dnf list | grep dnf-utils
    dnf-utils.ppc 4.0.16-64_50 @AIX_Toolbox_73

    # dnf provides /opt/freeware/bin/reposync
    Last metadata expiration check: 7:03:24 ago on Wed Apr 27 01:17:09 CDT 2022.
    dnf-utils-4.0.16-64_50.ppc : Yum-utils CLI compatibility layer
    Repo : @System
    Matched from:
    Filename : /opt/freeware/bin/reposync

    dnf-utils-4.0.16-64_50.ppc : Yum-utils CLI compatibility layer
    Repo : AIX_Toolbox_73
    Matched from:
    Filename : /opt/freeware/bin/reposync

    yum-utils-1.1.31-1.noarch : Utilities based around the yum package manager
    Repo : AIX_Toolbox_noarch
    Matched from:
    Filename : /opt/freeware/bin/reposync

    yum-utils-1.1.31-2.noarch : Utilities based around the yum package manager
    Repo : AIX_Toolbox_noarch
    Matched from:
    Filename : /opt/freeware/bin/reposync


    ------------------------------
    SANKET RATHI
    ------------------------------



  • 11.  RE: dnf dependencies / requirements in AIX 7.3

    IBM Champion
    Posted Wed April 27, 2022 09:45 AM
    So, it is only available for AIX 7.3? Or can I install it on AIX 7.2 from AIX 7.3 repo without braking anything?

    Thanks,

    Martin

    ------------------------------
    Martin Boban
    ------------------------------



  • 12.  RE: dnf dependencies / requirements in AIX 7.3

    Posted Wed April 27, 2022 10:15 AM
    Hi Martin,

    If you are on AIX 7.2 then the 7.2 repository should also have this.

    ------------------------------
    SANGAMESH
    ------------------------------



  • 13.  RE: dnf dependencies / requirements in AIX 7.3

    IBM Champion
    Posted Wed April 27, 2022 10:28 AM
    You are right, is it there now. Thanks.

    MArtin

    ------------------------------
    Martin Boban
    ------------------------------