AIX Open Source

 View Only
Expand all | Collapse all

7.3 updated rpm.rte updtvpkg fails as does dnf

  • 1.  7.3 updated rpm.rte updtvpkg fails as does dnf

    Posted Mon September 25, 2023 01:36 PM

    Updating rpm to rpm.rte.4.15.1.2009 on several servers so I can update dnf and run updtvpkg after.  2 worked one did not.  Not sure what happened to this one?  As far as I know dnf was working fine before this but dnf update may have been run before rpm was installed some weeks ago producing error that led me to updating rpm, I can not remember.

    updtvpkg                           
    Please wait...rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
    warning: line 8: It's not recommended to have unversioned Obsoletes: Obsoletes: SysProvides
    Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2Buqea
    + umask 022
    + cd /opt/freeware/src/packages/BUILD
    + RPM_EC=0
    + jobs -p
    + exit 0
    Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2Fuqeb
    + umask 022
    + cd /opt/freeware/src/packages/BUILD
    + RPM_EC=0
    + jobs -p
    + exit 0
    Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2Juqec
    + umask 022
    + cd /opt/freeware/src/packages/BUILD
    + RPM_EC=0
    + jobs -p
    + exit 0
    Processing files: AIX-rpm-7.3.1.3-31.ppc
    Wrote: /opt/freeware/src/packages/SRPMS/AIX-rpm-7.3.1.3-31.src.rpm
    Wrote: /opt/freeware/src/packages/RPMS/ppc/AIX-rpm-7.3.1.3-31.aix7.3.ppc.rpm
    Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2Nuqed
    + umask 022
    + cd /opt/freeware/src/packages/BUILD
    + RPM_EC=0
    + jobs -p
    + exit 0

    root@cmhschupap05 [/opt/freeware] # dnf check
    exec(): 0509-036 Cannot load program /opt/freeware/bin/python3.9 because of the following errors:
            0509-150   Dependent module libpython3.9.a(libpython3.9.so) could not be loaded.
            0509-022 Cannot load module libpython3.9.a(libpython3.9.so).
            0509-026 System error: A file or directory in the path name does not exist.

    # rpm -aq
    pci.df1000f9-3-91x4.noarch
    libunistring-0.9.10-1.ppc
    wget-1.21.2-1.ppc
    tcl-8.6.11-1.ppc
    info-6.7-1.ppc
    p11-kit-tools-0.23.22-1.ppc
    pcre-8.44-2.ppc
    libconfuse-3.2.2-2.ppc
    expect-5.45.4-2.ppc
    pkg-config-0.29.2-2.ppc
    libart_lgpl-2.3.21-2.ppc
    libgcc-10-2.ppc
    json-c-0.15-2.ppc
    libffi-3.4.2-1.ppc
    gmp-6.2.1-1.ppc
    libgomp-10-2.ppc
    npth-1.5-1.ppc
    libsmartcols-2.34-100.ppc
    libgcrypt-1.9.4-1.ppc
    libsolv-0.7.9-64_50.ppc
    libassuan-2.5.5-1.ppc
    gnupg2-2.2.35-1.ppc
    libyaml-0.2.5-1.ppc
    gdbm-1.23-1.ppc
    krb5-libs-1.18.5-2.ppc
    ncurses-6.3-1.ppc
    gnutls-3.7.2-1.ppc
    zlib-1.2.13-1.ppc
    libcomps-0.1.11-101.ppc
    libtextstyle-0.21-2.ppc
    librepo-1.11.0-101.ppc
    libdnf-0.39.1-64_51.ppc
    libksba-1.6.2-1.ppc
    openldap-2.5.12-1.ppc
    libxml2-2.10.3-1.ppc
    httpd-2.4.56-1.ppc
    libzstd-1.5.2-2.ppc
    libtasn1-4.19.0-1.ppc
    rpm-python3.9-4.15.1-64_4.ppc
    dnf-data-4.2.17-64_53.ppc
    python3-librepo-1.11.0-102.ppc
    python3-hawkey-0.39.1-64_52.ppc
    python3-libcomps-0.1.15-101.ppc
    AIX-rpm-7.3.1.3-31.ppc
    libpng-1.2.44-1.ppc
    tightvnc-server-1.3.10-2.ppc
    gnuplot-3.7.1-2.ppc
    lpar2rrd-agent-7.20-1.ppc
    unzip-64bit-6.0-4.ppc
    glib2-2.56.1-3.ppc
    bzip2-1.0.8-2.ppc
    readline-8.1-1.ppc
    p11-kit-0.23.22-1.ppc
    apr-1.7.0-1.ppc
    db-5.3.28-1.ppc
    ganglia-lib-3.7.2-2.ppc
    flex-2.6.4-1.ppc
    prngd-0.9.29-1.ppc
    apr-util-1.6.1-1.ppc
    libgcc10-10.3.0-6.ppc
    libstdc++10-10.3.0-6.ppc
    libstdc++-10-2.ppc
    check-0.13.0-1.ppc
    libgomp10-10.3.0-6.ppc
    nettle-3.7.3-1.ppc
    cyrus-sasl-2.1.28-1.ppc
    libmodulemd-1.5.2-100.ppc
    libiconv-1.17-1.ppc
    pinentry-1.0.0-1.ppc
    lz4-1.9.3-1.ppc
    ca-certificates-2021.2.52-3.ppc
    libgpg-error-1.45-1.ppc
    libnghttp2-1.46.0-1.ppc
    bash-5.1.16-1.ppc
    sqlite-3.39.3-1.ppc
    libssh2-1.10.0-2.ppc
    zchunk-libs-1.1.4-102.ppc
    gettext-0.21-2.ppc
    rsync-3.2.7-1.ppc
    libjpeg-9e-1.ppc
    curl-7.86.0-1.ppc
    expat-2.5.0-1.ppc
    mod_ssl-2.4.56-1.ppc
    gpgme-1.13.1-101.ppc
    xz-libs-5.4.3-1.ppc
    python3-3.9.17-1.ppc
    rpm-python3-4.15.1-64_4.ppc
    python3-dnf-4.2.17-64_53.ppc
    dnf-4.2.17-64_53.ppc
    python3-libdnf-0.39.1-64_52.ppc
    python3-gpg-1.13.1-101.ppc

    Thanks in advance.

    Doug



    ------------------------------
    Douglas Probst
    ------------------------------


  • 2.  RE: 7.3 updated rpm.rte updtvpkg fails as does dnf

    Posted Tue September 26, 2023 02:38 PM

    I fixed the first issue with updtvpkg by relinking install-info to install-info64 

    I verified against a working 7.3

    [/usr/opt/freeware/bin] # ls -l install*
    lrwxrwxrwx    1 root     system           29 Sep 26 14:02 install-info -> /usr/opt/rpm/bin/install-info
    lrwxrwxrwx    1 root     system           15 May 10 2022  install-info.rpmsave -> install-info_64
    -rwxr-xr-x    1 root     system       904198 Feb 08 2021  install-info_32
    -rwxr-xr-x    1 root     system       140314 Feb 08 2021  install-info_64

    I fixed the rest by attempting to install the files that failed, removing conflicting files with --nodeps and then installing the files it thought it needed.. eventually getting dnf update to run and dnf check to run clean.. so it is fixed till it breaks the next time I try and update it ..



    ------------------------------
    Douglas Probst
    ------------------------------