AIX Open Source

 View Only
  • 1.  Errors during downloading metadata for repository 'AIX_Toolbox'

    Posted Mon March 04, 2024 03:20 PM

    Hello Folks,

    Need your help. I was able to install the DNF after upgrading system 7.2 > 7.3, but when I am doing dnf update getting below error. Appreciate any help.

    # oslevel -s
    7300-01-02-2320

    AIX generic repository                                                                                                                   0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'AIX_Toolbox':
      - Curl error (60): SSL peer certificate or SSH remote key was not OK for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml [SSL certificate problem: self signed certificate in certificate chain]
    Error: Failed to download metadata for repo 'AIX_Toolbox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX noarch repository                                                                                                                    0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_noarch':
      - Curl error (60): SSL peer certificate or SSH remote key was not OK for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/repodata/repomd.xml [SSL certificate problem: self signed certificate in certificate chain]
    Error: Failed to download metadata for repo 'AIX_Toolbox_noarch': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX 7.3 specific repository                                                                                                              0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_73':
      - Curl error (60): SSL peer certificate or SSH remote key was not OK for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/repodata/repomd.xml [SSL certificate problem: self signed certificate in certificate chain]
    Error: Failed to download metadata for repo 'AIX_Toolbox_73': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    Ignoring repositories: AIX_Toolbox, AIX_Toolbox_noarch, AIX_Toolbox_73
    Dependencies resolved.
    Nothing to do.
    Complete!



    ------------------------------
    Ak
    ------------------------------


  • 2.  RE: Errors during downloading metadata for repository 'AIX_Toolbox'

    Posted 18 days ago

    Hi all,

    I am getting the same problem. 

    I loaded the latest DNF package available (https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_aixtoolbox.sh) today, 04/24/2024.

    oslevel: 7200-01-02-1717

    openssl: 1.1.1.1200

    Error when doing this command:

    dnf info screen

    AIX generic repository                          0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'AIX_Toolbox':
      - Curl error (60): SSL peer certificate or SSH remote key was not OK for https                                                                                                             ://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/r                                                                                                             epodata/repomd.xml [SSL certificate problem: self signed certificate in certificate chain]
    Error: Failed to download metadata for repo 'AIX_Toolbox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX noarch repository                           0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_noarch':
      - Curl error (60): SSL peer certificate or SSH remote key was not OK for https                                                                                                             ://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarc                                                                                                             h/repodata/repomd.xml [SSL certificate problem: self signed certificate in certificate chain]
    Error: Failed to download metadata for repo 'AIX_Toolbox_noarch': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX 7.2 specific repository                     0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_72':
      - Curl error (60): SSL peer certificate or SSH remote key was not OK for https                                                                                                             ://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7                                                                                                             .2/repodata/repomd.xml [SSL certificate problem: self signed certificate in certificate chain]
    Error: Failed to download metadata for repo 'AIX_Toolbox_72': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    Ignoring repositories: AIX_Toolbox, AIX_Toolbox_noarch, AIX_Toolbox_72
    Error: No matching Packages to list



    ------------------------------
    Gil Fuhrer
    ------------------------------



  • 3.  RE: Errors during downloading metadata for repository 'AIX_Toolbox'

    Posted 16 days ago

    Hi Gil,

    Please check the system date and see if it is set correctly.



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



  • 4.  RE: Errors during downloading metadata for repository 'AIX_Toolbox'

    Posted 16 days ago

    Hi Sangamesh,

    I had seen that as a hint before. I thought my date was set correctly, but it was off by 11 minutes.

    I have now set it correctly (for EDT) and also enabled the NTP client.

    I immediately tried the "dnf info" command and it is still failing with the same error.

    Do I need to let the systems sit for a certain amount of time? 

    I have seen you answering many of these entries, so really glad to see you addressing mine. :-) 



    ------------------------------
    Gil Fuhrer
    ------------------------------



  • 5.  RE: Errors during downloading metadata for repository 'AIX_Toolbox'

    Posted 15 days ago

    Hi Gil,

    Can you check if certificates are fine with "openssl s_client  -connect  public.dhe.ibm.com:443"



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



  • 6.  RE: Errors during downloading metadata for repository 'AIX_Toolbox'

    Posted 15 days ago

    Hi Sangamesh,

    When I run the "openssl s_client  -connect  public.dhe.ibm.com:443", I get a number of certificates sent back. They all seem to be TLSv1.3 with a cipher of TLS_AES_128_GCM_SHA256, but I am not sure how to read this output or what I might be looking for.

    Is there a specific certificate identification or type you are looking for here?

    Thank you!



    ------------------------------
    Gil Fuhrer
    ------------------------------



  • 7.  RE: Errors during downloading metadata for repository 'AIX_Toolbox'

    Posted 10 days ago

    Hi Gil,

    Sorry for the delay.

    Can you check if you have certificates hashes in /var/ssl/certs.

     ls -l /var/ssl/certs/*.0

    If there are no certificates hashes then you try running c_rehash command and see if it works.



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