Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Aix dnf plugins core problème

    Posted Sat September 17, 2022 07:52 AM
    Edited by OUSSAMA NAZIH Sun September 18, 2022 07:33 AM
    Hi , 
    dnf is installed with dnf-plugins-core , but "download" command is not recognized.
    Any suggestions???
    root@LPAR72:/ # oslevel -s
    7200-05-04-2220
    root@LPAR72:/ # dnf --version
    4.2.17
    Installed: dnf-0:4.2.17-32_50.ppc XXXXXXXX
    Built : IBM AIX Toolbox <ibm.biz/AIXToolbox> at Thu Apr 21 10:10:15 +01 2022
    root@LPAR72:/ # dnf list installed | grep -i dnf
    dnf.ppc 4.2.17-32_50 @AIX_Toolbox_72
    dnf-automatic.ppc 4.2.17-32_50 @AIX_Toolbox_72
    dnf-data.ppc 4.2.17-32_50 @AIX_Toolbox_72
    dnf-plugins-core.ppc 4.0.16-32_50 @AIX_Toolbox_72 <---
    libdnf.ppc 0.39.1-32_50 @AIX_Toolbox_72
    python3-dnf.ppc 4.2.17-32_50 @AIX_Toolbox_72
    python3-dnf-plugins-core.ppc 4.0.16-32_50 @AIX_Toolbox_72
    python3-libdnf.ppc 0.39.1-32_50 @AIX_Toolbox_72
    root@LPAR72:/ # dnf download
    No such command: download. Please use /opt/freeware/bin/dnf --help
    It could be a DNF plugin command, try: "dnf install 'dnf-command(download)'"
    root@LPAR72:/ # dnf install 'dnf-command(download)'
    Last metadata expiration check: XXXXXXXXXXXXXXXXXXXXXXXX
    No match for argument: dnf-command(download)
    Error: Unable to find a match: dnf-command(download)
    root@LPAR72:/ # awk '/plugins/' /opt/freeware/etc/dnf/dnf.conf
    plugins=1
    Best Regards.


    ------------------------------
    OUSSAMA NAZIH
    ------------------------------
    #AIXOpenSource


  • 2.  RE: Aix dnf plugins core problème
    Best Answer

    Posted Mon September 19, 2022 03:48 AM
    dnf download was having issues on AIX hence we did not include that as part of dnf-core plugin. 
    We will look at fixing the problem for dnf download and will add that into dnf-core-plugin in future release.

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



  • 3.  RE: Aix dnf plugins core problème

    Posted Thu September 22, 2022 03:06 PM
    Hi , 

    Thanks for the heads up.

    ------------------------------
    OUSSAMA NAZIH
    ------------------------------



  • 4.  RE: Aix dnf plugins core problème

    Posted Fri June 16, 2023 05:30 AM

    Hi,

    so how to do the equivalent of dnf download <package> or repotrack package> ?

    Thanks in advance



    ------------------------------
    Sylvain
    AIX/Power expert - IBM Certified IT Specialist
    ------------------------------



  • 5.  RE: Aix dnf plugins core problème

    Posted Fri June 16, 2023 06:01 AM

    Hi Sylvain,

    Will this works for you ?

    # dnf install --downloadonly grep --downloaddir /tmp
    Last metadata expiration check: 0:07:10 ago on Fri Jun 16 04:42:32 CDT 2023.
    Dependencies resolved.
    =========================================================================================================================
     Package                   Architecture             Version                       Repository                        Size
    =========================================================================================================================
    Installing:
     grep                      ppc                      3.7-2                         AIX_Toolbox                      505 k

    Transaction Summary
    =========================================================================================================================
    Install  1 Package

    Total download size: 505 k
    Installed size: 1.2 M
    DNF will only download packages for the transaction.
    Is this ok [y/N]: y
    Downloading Packages:
    grep-3.7-2.aix7.1.ppc.rpm                                                                2.7 MB/s | 505 kB     00:00
    -------------------------------------------------------------------------------------------------------------------------
    Total                                                                                    2.7 MB/s | 505 kB     00:00
    Complete!

    # ls grep*
    grep-3.7-2.aix7.1.ppc.rpm



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



  • 6.  RE: Aix dnf plugins core problème

    Posted Fri June 16, 2023 06:09 AM
    Hi Sangamesh,

    Yes dnf install --downloadonly... works great.

    But now what is the best to download one package and all its deps like I used to do with repotrack in the past ? 


    Thanks.