AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only

dnf broken after update on AIX 72 TL05SP4

  • 1.  dnf broken after update on AIX 72 TL05SP4

    Posted Mon May 22, 2023 09:46 AM

    After running dnf update, it seem that it does not end sucessfully.
    After this dnf is broken see output below: 

    -bash-5.1# dnf update
    AIX generic repository                                                                                                             3.0 MB/s | 3.0 kB     00:00
    AIX generic repository                                                                                                             116 MB/s | 7.3 MB     00:00
    AIX noarch repository                                                                                                              3.0 MB/s | 3.0 kB     00:00
    AIX noarch repository                                                                                                               93 MB/s | 2.0 MB     00:00
    AIX 7.2 specific repository                                                                                                        3.0 MB/s | 3.0 kB     00:00
    AIX 7.2 specific repository                                                                                                         75 MB/s | 1.2 MB     00:00
    AIX Miscellaneous repository                                       ates-2023.2.60-1.ppc                                                                                                         15/55
      Upgrading        : curl-8.0.1-1.ppc                                                                                                                        16/55
      Upgrading        : zchunk-libs-1.1.4-102.ppc                                                                                                               17/55
      Upgrading        : librepo-1.11.0-101.ppc                                                                                                                  18/55
      Upgrading        : libdnf-0.39.1-32_51.ppc                                                                                                                 19/55
      Upgrading        : python3-libdnf-0.39.1-32_51.ppc                                                                                                         20/55
      Upgrading        : python3-hawkey-0.39.1-32_51.ppc                                                                                                         21/55
      Upgrading        : python3-librepo-1.11.0-101.ppc                                                                                                          22/55
      Upgrading        : python-pycurl-7.43.0.5-1.ppc                                                                                                            23/55
      Upgrading        : vim-enhanced-9.0.1237-1.ppc                                                                                                             24/55
      Upgrading        : libgomp-1:10-2.ppc                                                                                                                      25/55
      Upgrading        : sudo-1.9.13p2-1.ppc [                                                                                                                 ] 26/55Illegal instruction (core dumped)

    Running a dnf check we got the following:

    -bash-5.1# dnf check
    warning: rpmdb: Freeing read locks for locker 0x1074: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1076: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1077: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1078: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1079: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x107a: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x107b: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x107c: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x107d: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x107e: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x107f: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1080: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1081: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1082: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1083: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1084: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1085: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1086: 15008154/1
    warning: rpmdb: Freeing read locks for locker 0x1087: 15008154/1
    ca-certificates-2021.2.52-3.ppc is a duplicate with ca-certificates-2023.2.60-1.ppc
    curl-7.85.0-1.ppc is a duplicate with curl-8.0.1-1.ppc
    expat-2.4.9-1.ppc is a duplicate with expat-2.5.0-1.ppc
    krb5-libs-1.18.5-2.ppc is a duplicate with krb5-libs-1.20.1-1.ppc
    libdnf-0.39.1-32_50.ppc is a duplicate with libdnf-0.39.1-32_51.ppc
    libgcc-1:8-1.ppc is a duplicate with libgcc-1:10-2.ppc
    libgomp-1:8-1.ppc is a duplicate with libgomp-1:10-2.ppc
    librepo-1.11.0-100.ppc is a duplicate with librepo-1.11.0-101.ppc
    libssh2-1.10.0-1.ppc is a duplicate with libssh2-1.10.0-2.ppc
    libstdc++-1:8-1.ppc is a duplicate with libstdc++-1:10-2.ppc
    libxml2-2.10.2-1.ppc is a duplicate with libxml2-2.10.3-1.ppc
    openldap-2.4.58-4.ppc is a duplicate with openldap-2.5.12-1.ppc
    python-2.7.18-3.ppc is a duplicate with python-2.7.18-4.ppc
    python-pycurl-7.43.0-1.ppc is a duplicate with python-pycurl-7.43.0.5-1.ppc
    python3-3.7.15-1.ppc is a duplicate with python3-3.7.15-2.ppc
    python3-hawkey-0.39.1-32_50.ppc is a duplicate with python3-hawkey-0.39.1-32_51.ppc
    python3-libdnf-0.39.1-32_50.ppc is a duplicate with python3-libdnf-0.39.1-32_51.ppc
    python3-librepo-1.11.0-100.ppc is a duplicate with python3-librepo-1.11.0-101.ppc
    vim-common-9.0.0325-1.ppc is a duplicate with vim-common-9.0.1237-1.ppc
    vim-enhanced-9.0.0325-1.ppc is a duplicate with vim-enhanced-9.0.1237-1.ppc
    zchunk-libs-1.1.4-101.ppc is a duplicate with zchunk-libs-1.1.4-102.ppc
    zlib-1.2.12-1.ppc is a duplicate with zlib-1.2.13-1.ppc
    Error: Check discovered 22 problem(s)

    A new dnf update results into:

    -bash-5.1# dnf update
    Segmentation fault (core dumped)                                               [===                                                                       ] ---  B/s |   0  B     --:-- ETA

    We are running on AIX 7.2 TL05 SP4 for this system.
    does anyone have the same or maybe know a solution for this?

    Thanks in advance
    Greetings Christian Sonnemans.



    ------------------------------
    Christian Sonnemans
    Tactical Unix system engineer
    De Volksbank
    Den Bosch
    +31 (0) 6 53 27 15 71
    ------------------------------