Power Global

Power Global

A central meeting place for IBM Power. Connect, ask questions, share ideas, and explore the full spectrum of Power technologies across workloads, industries, and use cases.


#TechXchangePresenter
#Power

 View Only
  • 1.  AIX 7.3 dnf update fails

    Posted Tue February 01, 2022 05:22 PM
    Edited by System Admin Thu July 21, 2022 11:16 AM
    Update the following day.
    Reinstall AIX 7.3 added AIX 7.3 TL0 sp1
    Added dnf bundle
    Now with no problems

    Conclusions - Self inflicted wound. No idea what I did wrong.
    Feel free to delete this entry.
    ----


    Brand new AIX 7.3 installed and updated to service pack 1.
    # oslevel -s
    7300-00-01-2148
    #
    Then installed: dnf_bundle_aix_73_v4.tar 
    Worked fine. v4 was the current latest version.

    #./install_dnf.sh -d

    Checking whether any of the rpms from dnf_bundle are already installed...
    Takes couple of minutes to process.

    ca-certificates-2020.06.01-0 will be installed
    dnf-4.2.17-64_3 will be installed
    dnf-automatic-4.2.17-64_3 will be installed
    dnf-data-4.2.17-64_3 will be installed
    libcomps-0.1.11-64_1 will be installed
    libdnf-0.39.1-64_2 will be installed
    libmodulemd-1.5.2-64_1 will be installed
    librepo-1.11.0-64_1 will be installed
    libsmartcols-2.34-64_1 will be installed
    libsolv-0.7.9-64_1 will be installed
    libzstd-1.4.4-64_1 will be installed
    p11-kit-0.23.16-0 will be installed
    p11-kit-tools-0.23.16-0 will be installed
    python3-3.7.9-0 will be installed
    python3-dnf-4.2.17-64_3 will be installed
    python3-gpgme-1.13.1-64_1 will be installed
    python3-hawkey-0.39.1-64_2 will be installed
    python3-libcomps-0.1.11-64_1 will be installed
    python3-libdnf-0.39.1-64_2 will be installed
    python3-librepo-1.11.0-64_1 will be installed
    rpm-python3-4.15.1-64_2 will be installed
    zchunk-libs-1.1.4-64_1 will be installed

    Installing the packages...

    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    Updating / installing...
    1:python3-3.7.9-0 ################################# [ 5%]
    2:libzstd-1.4.4-64_1 ################################# [ 9%]
    3:libmodulemd-1.5.2-64_1 ################################# [ 14%]
    4:libsolv-0.7.9-64_1 ################################# [ 18%]
    5:libsmartcols-2.34-64_1 ################################# [ 23%]
    6:zchunk-libs-1.1.4-64_1 ################################# [ 27%]
    7:librepo-1.11.0-64_1 ################################# [ 32%]
    8:rpm-python3-4.15.1-64_2 ################################# [ 36%]
    9:libdnf-0.39.1-64_2 ################################# [ 41%]
    10:python3-libdnf-0.39.1-64_2 ################################# [ 45%]
    11:python3-hawkey-0.39.1-64_2 ################################# [ 50%]
    12:libcomps-0.1.11-64_1 ################################# [ 55%]
    13:python3-libcomps-0.1.11-64_1 ################################# [ 59%]
    14:python3-gpgme-1.13.1-64_1 ################################# [ 64%]
    15:p11-kit-0.23.16-0 ################################# [ 68%]
    16:p11-kit-tools-0.23.16-0 ################################# [ 73%]
    17:dnf-data-4.2.17-64_3 ################################# [ 77%]
    18:python3-dnf-4.2.17-64_3 ################################# [ 82%]
    19:dnf-4.2.17-64_3 ################################# [ 86%]
    20:dnf-automatic-4.2.17-64_3 ################################# [ 91%]
    21:ca-certificates-2020.06.01-0 ################################# [ 95%]
    22:python3-librepo-1.11.0-64_1 ################################# [100%]

    dnf installed successfully.
    Please run 'dnf update' to update packages to the latest level.

    Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
    RPM packages install files go under the path /opt.
    Hence it is recommended to always keep at least 512MB of free space in /var & /opt
    to avoid any download and installation/update failures.

    ----
    dnf updated failed with tk waring so added --nobest

    # /opt/freeware/bin/dnf --nobest update
    Last metadata expiration check: 0:01:51 ago on Mon Jan 31 13:12:20 GMT 2022.
    Dependencies resolved.

    Problem: cannot install the best update candidate for package tk-8.4.7-3.ppc
    - nothing provides libX11.a(shr4.o) needed by tk-8.6.11-1.ppc
    - nothing provides libX11.a(shr_64.o) needed by tk-8.6.11-1.ppc
    - nothing provides libXext.a(shr.o) needed by tk-8.6.11-1.ppc
    - nothing provides libXext.a(shr_64.o) needed by tk-8.6.11-1.ppc

    Updated completes without the tk update

    The added --nobest does work around the problem but it is NOT FIXED
    # /opt/freeware/bin/dnf update
    Last metadata expiration check: 0:22:57 ago on Mon Jan 31 13:12:20 GMT 2022.
    Error:
    Problem: cannot install the best update candidate for package tk-8.4.7-3.ppc
    - nothing provides libX11.a(shr4.o) needed by tk-8.6.11-1.ppc
    - nothing provides libX11.a(shr_64.o) needed by tk-8.6.11-1.ppc
    - nothing provides libXext.a(shr.o) needed by tk-8.6.11-1.ppc
    - nothing provides libXext.a(shr_64.o) needed by tk-8.6.11-1.ppc
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    #

    Other dnf installs fail due to the libX11.a problem that tk-8.6 needed

    # /opt/freeware/bin/dnf install tightvnc-server.ppc
    Last metadata expiration check: 0:23:39 ago on Mon Jan 31 13:12:20 GMT 2022.
    Error:
    Problem: cannot install the best candidate for the job
    - nothing provides libX11.a(shr4.o) needed by tightvnc-server-1.3.10-2.ppc
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    #

    Question - is this due to X11 not being installed by default  for AIX 7.3 ?
    # lslpp -L | grep X11
    bos.rte.X11 7.3.0.0 C F AIXwindows Device Support
    devices.pci.02105e51.X11 7.3.0.0 C F AIXwindows Native Display
    devices.pci.2b102725.X11 7.3.0.0 C F AIXwindows GXT145 Graphics
    #



    ------------------------------
    Nigel Griffiths
    ------------------------------


  • 2.  RE: AIX 7.3 dnf update fails

    Posted Wed February 02, 2022 04:53 PM
    Hello Nigel,

    this happend also for me. I realized, that I had the repository for 7.2 and for 7.3 in the repolist. So I deleted the repo for 7.2 and it worked for me.

    best regards
    Joerg

    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------