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
Expand all | Collapse all

Repositories defined in /opt/freeware/etc/yum/repos.d not listed after migration from yum to dnf

  • 1.  Repositories defined in /opt/freeware/etc/yum/repos.d not listed after migration from yum to dnf

    Posted 24 days ago

    Hello,

    I recently migrated from yum to dnf on my AIX 7.2 system and I lost the use of the defined repositories which were in /opt/freeware/etc/yum/repos.d.

    Files are still in then directory :

    [root@CUWASCD1:/] # ll /opt/freeware/etc/yum/repos.d
    total 12
    0 drwxr-xr-x 2 root system  256 Oct  6  2022 .
    4 drwxr-xr-x 3 root system 4096 Nov 17 10:46 ..
    4 -rw-r--r-- 1 root system   89 Oct  6  2022 Pro_BTP_AIX.repo
    4 -rw-r--r-- 1 root system  138 Nov 13  2020 Pro_BTP_commun.repo

    But not listed by the repolist :

    [root@CUWASCD1:/] # dnf repolist -v
    Loaded plugins: changelog, config-manager, debug, generate_completion_cache, migrate, repoclosure, repodiff, repograph, repomanage, reposync
    DNF version: 4.23.0
    cachedir: /var/cache/dnf
    Last metadata expiration check: 0:23:09 ago on Fri Jan 16 15:54:19 CET 2026.
    Repo-id            : AIX_Toolbox
    Repo-name          : AIX generic repository
    Repo-revision      : 1768414022
    Repo-updated       : Wed Jan 14 19:07:00 CET 2026
    Repo-pkgs          : 4,968
    Repo-available-pkgs: 4,968
    Repo-size          : 17 G
    Repo-baseurl       : anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
    Repo-expire        : 172,800 second(s) (last: Fri Jan 16 15:54:10 CET 2026)
    Repo-filename      : /opt/freeware/etc/dnf/dnf.conf

    Repo-id            : AIX_Toolbox_72
    Repo-name          : AIX 7.2 specific repository
    Repo-revision      : 1767950516
    Repo-updated       : Fri Jan  9 10:21:55 CET 2026
    Repo-pkgs          : 850
    Repo-available-pkgs: 850
    Repo-size          : 13 G
    Repo-baseurl       : anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/
    Repo-expire        : 172,800 second(s) (last: Fri Jan 16 15:54:19 CET 2026)
    Repo-filename      : /opt/freeware/etc/dnf/dnf.conf

    Repo-id            : AIX_Toolbox_noarch
    Repo-name          : AIX noarch repository
    Repo-revision      : 1767950135
    Repo-updated       : Fri Jan  9 10:15:34 CET 2026
    Repo-pkgs          : 1,063
    Repo-available-pkgs: 1,063
    Repo-size          : 1.8 G
    Repo-baseurl       : anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/
    Repo-expire        : 172,800 second(s) (last: Fri Jan 16 15:54:16 CET 2026)
    Repo-filename      : /opt/freeware/etc/dnf/dnf.conf
    Total packages: 6,881

    I tried to move the repos.d directory into /opt/freeware/etc/dnf but it changed nothing.

    How can I make them taken in account again ?

    Regards,



    ------------------------------
    Marc Baguelin
    ------------------------------


  • 2.  RE: Repositories defined in /opt/freeware/etc/yum/repos.d not listed after migration from yum to dnf

    Posted 21 days ago

    Hi Marc,

    Can you share the content of below commands:

    1. /opt/freeware/etc/yum/repos.d/Pro_BTP_AIX.repo

    2. /opt/freeware/etc/dnf/dnf.conf



    ------------------------------
    Lakshmi Surekha Kovvuri
    ------------------------------