Power

 View Only
  • 1.  repo issue with DNF on AIX 7.3

    Posted Sat April 20, 2024 10:13 AM

    After converting to dnf after upgrading to AIX 7.3.   There are old AIXTOOLBOX_LOCAL repo causing issues with dnf.     These repos are not in dnf.conf and not sure where they are coming from.     Can you please let me know how I can remove them?

    /opt/freeware/etc/dnf #dnf update
    Repository AIXTOOLBOX_LOCAL is listed more than once in the configuration
    Repository AIXTOOLBOX_LOCAL_noarch is listed more than once in the configuration
    Repository AIXTOOLBOX_LOCAL_7.2 is listed more than once in the configuration
    AIX ToolBox Repository                                                                                                                                       0.0  B/s |   0  B     00:00    
    Errors during downloading metadata for repository 'AIXTOOLBOX_LOCAL':
      - Curl error (7): Couldn't connect to server for http://SERVERA/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml [Failed to connect to apspl9004 port 80: A remote host refused an attempted connect operation.]
    Error: Failed to download metadata for repo 'AIXTOOLBOX_LOCAL': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

    /opt/freeware/etc/dnf #dnf repolist
    Repository AIXTOOLBOX_LOCAL is listed more than once in the configuration
    Repository AIXTOOLBOX_LOCAL_noarch is listed more than once in the configuration
    Repository AIXTOOLBOX_LOCAL_7.2 is listed more than once in the configuration
    repo id                                                                                      repo name
    AIXTOOLBOX_LOCAL                                                                             AIX ToolBox Repository
    AIXTOOLBOX_LOCAL_7.2                                                                         AIX ToolBox Repository
    AIXTOOLBOX_LOCAL_noarch                                                                      AIX ToolBox Repository
    AIX_Toolbox                                                                                  AIX generic repository
    AIX_Toolbox_72                                                                               AIX 7.2 specific repository
    AIX_Toolbox_73                                                                               AIX 7.3 specific repository
    AIX_Toolbox_noarch                                                                           AIX noarch repository

    /opt/freeware/etc/dnf #cat dnf.conf
    [main]
    cachedir=/var/cache/dnf
    keepcache=1
    debuglevel=2
    logfile=/var/log/dnf.log
    exactarch=1
    gpgcheck=1
    installonly_limit=3
    clean_requirements_on_remove=True
    best=True

    plugins=1

    [AIX_Toolbox]
    name=AIX generic repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
    enabled=1
    gpgcheck=0

    [AIX_Toolbox_noarch]
    name=AIX noarch repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/
    enabled=1
    gpgcheck=0

    [AIX_Toolbox_72]
    name=AIX 7.2 specific repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/
    enabled=1
    gpgcheck=0

    [AIX_Toolbox_71]
    name=AIX 7.1 specific repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.1/
    enabled=0
    gpgcheck=0

    [AIX_Toolbox_73]
    name=AIX 7.3 specific repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/
    enabled=1
    gpgcheck=0



    ------------------------------
    Kenneth Foust
    ------------------------------


  • 2.  RE: repo issue with DNF on AIX 7.3

    Posted Mon April 22, 2024 01:24 AM

    By running dnf repolist -v you can display in which file the repositories are configured.



    ------------------------------
    Oliver Stadler
    ------------------------------



  • 3.  RE: repo issue with DNF on AIX 7.3

    Posted 30 days ago

    Please use AIX open source software forum for any AIX toolbox and open source on AIX related questions. You will find more experts... 
    https://community.ibm.com/community/user/power/communities/community-home/digestviewer?communitykey=10c1d831-47ee-4d92-a138-b03f7896f7c9



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