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
  • 1.  AIX 73 dnf update failed

    Posted Fri July 29, 2022 12:48 AM
    Hello
    i have installed DNF on my latest AIX 73 and got errors which i cannot resolve...can anyone help me out here pls ?
    thx
    vince

    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Error: Transaction test error:
    file /opt/freeware/lib/libdb-4.8.a from install of db-1:5.3.28-1.ppc conflicts with file from package db4-4.8.30-1.ppc
    file /opt/freeware/lib/libdb-4.8.so from install of db-1:5.3.28-1.ppc conflicts with file from package db4-4.8.30-1.ppc
    file /opt/freeware/lib/libdb.a from install of db-1:5.3.28-1.ppc conflicts with file from package db4-4.8.30-1.ppc
    file /opt/freeware/lib64/libdb-4.8.so from install of db-1:5.3.28-1.ppc conflicts with file from package db4-4.8.30-1.ppc

    root@rb3zi31(Si):/tmp/vince $ rpm -qa|grep libdb
    root@rb3zi31(Si):/tmp/vince $ rpm -qa |grep db4
    db4-4.8.30-1.ppc
    root@rb3zi31(Si):/tmp/vince $

    ------------------------------
    Vincencio Michaelis
    ------------------------------


  • 2.  RE: AIX 73 dnf update failed

    Posted Tue August 02, 2022 12:26 PM
    Hi Vince,

    Can you please share output of "rpm -qa" command?

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



  • 3.  RE: AIX 73 dnf update failed

    Posted Tue August 02, 2022 11:51 PM
    Hello Sanket
    shure..thx for the update :-)

    root@rb3zi31(Si):/ $ rpm -qa
    AfterStep-1.8.10-1.ppc
    gdbm-1.11-1.ppc
    info-5.2-1.ppc
    libjpeg-9a-1.ppc
    netcat-1.10-3.ppc
    rsync_64-3.1.1-1.ppc
    unzip-6.0-2.ppc
    readline-7.0-3.ppc
    pcre-8.42-1.ppc
    libidn-1.33-1.ppc
    libyaml-0.1.7-1.ppc
    ruby-devel-2.0.0.648-1.ppc
    tightvnc-server-1.3.10-1.ppc
    expat-2.2.5-1.ppc
    libffi-3.2.1-2.ppc
    pkg-config-0.28-1.ppc
    sqlite-3.25.2-1.ppc
    gmp-6.1.2-1.ppc
    libconfuse-3.0-1.ppc
    libssh2-1.8.0-1.ppc
    popt-1.16-2.ppc
    libgcc-8-1.ppc
    openldap-2.4.56-1.ppc
    zlib-1.2.11-1.ppc
    sudo-1.9.5p2-1.ppc
    bash-5.0-8.ppc
    AIX-rpm-7.3.0.0-26.ppc
    libzstd-1.4.4-64_1.ppc
    libsolv-0.7.9-64_1.ppc
    zchunk-libs-1.1.4-64_1.ppc
    rpm-python3-4.15.1-64_2.ppc
    python3-libdnf-0.39.1-64_2.ppc
    libcomps-0.1.11-64_1.ppc
    python3-gpgme-1.13.1-64_1.ppc
    p11-kit-tools-0.23.16-0.ppc
    python3-dnf-4.2.17-64_3.noarch
    dnf-automatic-4.2.17-64_3.noarch
    python3-librepo-1.11.0-64_1.ppc
    db4-4.8.30-1.ppc
    bzip2-1.0.6-1.ppc
    less-458-1.ppc
    libpng-1.6.9-1.ppc
    tar-1.28-1.ppc
    openssl-1.0.2o-1.ppc
    readline-devel-7.0-3.ppc
    libiconv-1.15-1.ppc
    wget-1.19.5-1.ppc
    ruby-2.0.0.648-1.ppc
    libyaml-devel-0.1.7-1.ppc
    apr-1.6.3-1.ppc
    glib2-2.38.2-1.ppc
    xz-libs-5.2.4-1.ppc
    ncurses-6.1-1.ppc
    curl-7.60.0-1.ppc
    libgcc8-8.3.0-4.ppc
    cyrus-sasl-2.1.26-3.ppc
    libstdc++8-8.3.0-4.ppc
    gettext-0.19.8.1-1.ppc
    libstdc++-8-1.ppc
    python3-3.7.9-0.ppc
    libmodulemd-1.5.2-64_1.ppc
    libsmartcols-2.34-64_1.ppc
    librepo-1.11.0-64_1.ppc
    libdnf-0.39.1-64_2.ppc
    python3-hawkey-0.39.1-64_2.ppc
    python3-libcomps-0.1.11-64_1.ppc
    p11-kit-0.23.16-0.ppc
    dnf-data-4.2.17-64_3.noarch
    dnf-4.2.17-64_3.noarch
    ca-certificates-2020.06.01-0.ppc
    libpng-1.6.37-1.ppc
    root@rb3zi31(Si):/ $

    ------------------------------
    Vincencio Michaelis
    ------------------------------



  • 4.  RE: AIX 73 dnf update failed

    Posted Thu August 04, 2022 02:29 AM
    Hi Vince, 
    Looks like you have installed some RPMs from other site than AIX toolbox.
    In this case db4 rpm is coming from somewhere else and providing the same files as provided by db package of AIX toolbox.
    So when you try to install a package or update existing packages using dnf it tries to install db package from AIX toolbox because of dependency
    but then it finds that same files are owned by db4 package and hence conflct.
    If the name of packages would have been same then it would have worked but in this case one package is db and other is db4.
    To resolve this issue you should remove db4 package from system, it is possible this package is required by some other PRMs (those also comes from other repo) then remove them also and install them from AIX toolbox. 
    Having packages from different repo can cause this kind of conflicts.

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