AIX Open Source

 View Only
  • 1.  YUM Installation on AIX 7.2

    Posted Thu June 03, 2021 12:23 PM
    I've installed Yum on my server which appeared to install without any errors. When I try to run any command I get the error below. Any help would be greatly appreciated.


    # YUM Update

    -{root@DR2021 /epic/prd/installs}- $ yum update
    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: [Errno 12] Timeout on 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: (28, 'Connection timed out after 30000 milliseconds')
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: AIX_Toolbox. Please verify its path and try again


    # OS Level
    -{root@DR2021 /var/ssl/certs}- $ oslevel -s
    7200-01-06-1914


    # Yum Installation


    -{root@DR2021 /epic/prd/installs}- $ ./yum.sh
    Attempting download of rpm.rte & yum_bundle.tar ...
    Installing rpm.rte at the latest version ...
    This may take several minutes depending on the number of rpms installed...
    +-----------------------------------------------------------------------------+
    Pre-installation Verification...
    +-----------------------------------------------------------------------------+
    Verifying selections...done
    Verifying requisites...done
    Results...

    WARNINGS
    --------
    Problems described in this section are not likely to be the source of any
    immediate or serious failures, but further actions may be necessary or
    desired.

    Already Installed
    -----------------
    The number of selected filesets that are either already installed
    or effectively installed through superseding filesets is 1. See
    the summaries at the end of this installation for details.

    NOTE: Base level filesets may be reinstalled using the "Force"
    option (-F flag), or they may be removed, using the deinstall or
    "Remove Software Products" facility (-u flag), and then reinstalled.

    << End of Warning Section >>

    +-----------------------------------------------------------------------------+
    BUILDDATE Verification ...
    +-----------------------------------------------------------------------------+
    Verifying build dates...done
    FILESET STATISTICS
    ------------------
    1 Selected to be installed, of which:
    1 Already installed (directly or via superseding filesets)
    ----
    0 Total to be installed


    Pre-installation Failure/Warning Summary
    ----------------------------------------
    Name Level Pre-installation Failure/Warning
    -------------------------------------------------------------------------------
    rpm.rte 4.15.1.3 Already installed


    Extracting yum_bundle.tar ...
    x ca-certificates-2016.10.7-2.aix6.1.ppc.rpm, 214726 bytes, 420 media blocks.
    x curl-7.52.1-1.aix6.1.ppc.rpm, 533288 bytes, 1042 media blocks.
    x db-4.8.24-3.aix6.1.ppc.rpm, 2897799 bytes, 5660 media blocks.
    x gdbm-1.8.3-5.aix5.2.ppc.rpm, 56991 bytes, 112 media blocks.
    x gettext-0.19.7-1.aix6.1.ppc.rpm, 4036762 bytes, 7885 media blocks.
    x glib2-2.14.6-2.aix5.2.ppc.rpm, 1686134 bytes, 3294 media blocks.
    x pysqlite-1.1.7-2.aix6.1.ppc.rpm, 51749 bytes, 102 media blocks.
    x python-2.7.10-1.aix6.1.ppc.rpm, 23333701 bytes, 45574 media blocks.
    x python-devel-2.7.10-1.aix6.1.ppc.rpm, 15366474 bytes, 30013 media blocks.
    x python-iniparse-0.4-1.aix6.1.noarch.rpm, 37912 bytes, 75 media blocks.
    x python-pycurl-7.19.3-1.aix6.1.ppc.rpm, 162093 bytes, 317 media blocks.
    x python-tools-2.7.10-1.aix6.1.ppc.rpm, 830446 bytes, 1622 media blocks.
    x python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm, 158584 bytes, 310 media blocks.
    x readline-6.1-2.aix6.1.ppc.rpm, 489547 bytes, 957 media blocks.
    x sqlite-3.15.2-1.aix6.1.ppc.rpm, 3570302 bytes, 6974 media blocks.
    x yum-3.4.3-8.aix6.1.noarch.rpm, 1385622 bytes, 2707 media blocks.
    x yum-metadata-parser-1.1.4-2.aix6.1.ppc.rpm, 62283 bytes, 122 media blocks.


    Checking whether any of the rpms from yum_bundle are already installed ...

    Package ca-certificates-2016.10.7-2 is already installed
    Package curl-7.52.1-1 is already installed
    Package db-4.8.24-3 is already installed
    Package gdbm-1.8.3-5 is already installed
    Package gettext-0.19.7-1 is already installed
    Package glib2-2.14.6-2 is already installed
    Package pysqlite-1.1.7-2 is already installed
    Package python-2.7.10-1 is already installed
    Package python-devel-2.7.10-1 is already installed
    Package python-iniparse-0.4-1 is already installed
    Package python-pycurl-7.19.3-1 is already installed
    Package python-tools-2.7.10-1 is already installed
    Package python-urlgrabber-3.10.1-1 is already installed
    Package readline-6.1-2 is already installed
    Package sqlite-3.15.2-1 is already installed
    yum-3.4.3-8 will be installed ...
    yum-metadata-parser-1.1.4-2 will be installed ...

    Installing the packages...

    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    Updating / installing...
    1:yum-metadata-parser-1.1.4-2 ################################# [ 50%]
    2:yum-3.4.3-8 ################################# [100%]



    # yum.conf

    -{root@DR2021 /var/ssl/certs}- $ cat /opt/freeware/etc/yum/yum.conf
    [main]
    cachedir=/var/cache/yum
    keepcache=1
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    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


    ------------------------------
    Chris Bankovic
    ------------------------------


  • 2.  RE: YUM Installation on AIX 7.2

    Posted Thu June 03, 2021 12:57 PM
    Hi Chris,

    Looks like there is an issue to connect to repository server. Is you AIX system can access outside world (public.dhe.ibm.com)
    Are you able to ping to public.dhe.ibm.com from your AIX system ?
    You can try accessing repo using curl command.
    $ curl https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/

    If they are working then it could be temporary network issue.

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



  • 3.  RE: YUM Installation on AIX 7.2

    Posted Thu June 03, 2021 01:14 PM
    I'm able to ping
    -{root@DR2021 ~}- $ ping public.dhe.ibm.com
    PING dispby-112.boulder.ibm.com: (170.225.15.112): 56 data bytes
    64 bytes from 170.225.15.112: icmp_seq=0 ttl=234 time=43 ms
    64 bytes from 170.225.15.112: icmp_seq=1 ttl=234 time=43 ms
    64 bytes from 170.225.15.112: icmp_seq=2 ttl=234 time=45 ms

    --- dispby-112.boulder.ibm.com ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 43/43/45 ms
    -{root@DR2021 ~}- $ curl https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/
    curl: (35) Unknown SSL protocol error in connection to public.dhe.ibm.com:443

    ------------------------------
    Chris Bankovic
    ------------------------------



  • 4.  RE: YUM Installation on AIX 7.2

    Posted Wed July 14, 2021 01:24 AM
    have you solve this query about install
     https://public.dhe.ibm. https://apkhandy.com/ com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/

    ------------------------------
    david crisp
    ------------------------------



  • 5.  RE: YUM Installation on AIX 7.2

    Posted Thu June 03, 2021 01:25 PM
    I have had this timeout issue for a few months now, when doing yum updates across my AIX landscape I have to keep trying and trying and they finally connect.  It was taking me so long to get everything updated I was finally pushed to set up a local repository.     Now I just have the timeout issue on my repo server pulling down packages.

    ------------------------------
    Lori Bernier
    ------------------------------



  • 6.  RE: YUM Installation on AIX 7.2

    Posted Thu June 03, 2021 01:31 PM
    Here is the error I'm getting now:

    -{root@DR2021 ~}- $ yum update
    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: [Errno 14] curl#60 - "SSL certificate problem: self signed certificate in certificate chain"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: AIX_Toolbox. Please verify its path and try again

    ------------------------------
    Chris Bankovic
    ------------------------------



  • 7.  RE: YUM Installation on AIX 7.2

    IBM Champion
    Posted Fri June 04, 2021 02:17 AM
    Hi,

    For me creating a local repo has worked best; eg use wget to pull all packages to some NIM etc server which has http-server running ; then point your yum client configs towards the internal repo instead of going to internet directly..

    Br,
    tommi

    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tieto.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 8.  RE: YUM Installation on AIX 7.2

    Posted Fri June 04, 2021 03:26 AM
    Please check whether hashes are generated for the certificates in /var/ssl/certs.
    ls /var/ssl/certs/*.0 | wc -l

    The post-install script of ca-certificates does that. To view it, 
    rpm -q --scripts ca-certificates

    If the hashes are not created , try reinstalling the ca-certificates rpm.
    rpm --reinstall ca-certificates-2016.10.7-2.aix6.1.ppc.rpm

    ------------------------------
    Ayappan P
    ------------------------------