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
Expand all | Collapse all

DNF check shows error, but DNS works, what to do?

  • 1.  DNF check shows error, but DNS works, what to do?

    Posted Thu February 09, 2023 02:08 PM

    Just looped over all My AIX boxes running dnf check to see what my be broken I was unaware of.

    This is a 7.2 box that dnf works on but check it reporting the following.. Removing the rpm file it complains about really breaks everything, have done so 2 time and had to recover from alt boot both times.  So now asking for help, out of ideas

    dnf check
    rpm-3.0.5-52.ppc has missing requires of libpopt.so
    Error: Check discovered 1 problem(s)

    root@cmhsawuqga01 [/tmp] # rpm -qR  rpm-3.0.5-52
    /bin/sh
    /bin/sh
    /usr/bin/ksh
    libbz2.a(libbz2.so.1)
    libc.a(shr.o)
    libpopt.so
    librpm.so
    librpmbuild.so
    librtl.a(shr.o)

    List of all RPMs

    xorg-compat-aix-1.0-1.ppc
    t1lib-5.1.2-1.ppc
    jasper-1.900.1-2.ppc
    libcroco-0.6.1-1.ppc
    unzip-64bit-6.0-4.ppc
    rpm-python3-4.15.1-32_1.ppc
    libgcc8-8.3.0-6.ppc
    bzip2-1.0.8-2.ppc
    libgomp8-8.3.0-6.ppc
    jbigkit-libs-2.1-1.ppc
    glib2-2.56.1-3.ppc
    readline-8.1-1.ppc
    p11-kit-tools-0.23.22-1.ppc
    sed-4.8-1.ppc
    libwebp-1.0.2-1.ppc
    flex-2.6.4-1.ppc
    atk-2.20.0-3.ppc
    jbigkit-2.1-1.ppc
    libdbi-0.9.0-1.ppc
    libart_lgpl-2.3.21-2.ppc
    ganglia-gmond-3.7.2-2.ppc
    ganglia-mod_ibmpower-3.7.2-1.ppc
    ganglia-mod_ibmfc-3.7.2-1.ppc
    ganglia-mod_ibmame-3.7.2-1.ppc
    ganglia-web-3.7.2-3.noarch
    libconfuse-devel-3.2.2-2.ppc
    ganglia-devel-3.7.2-2.ppc
    fontconfig-2.11.95-4.ppc
    dejavu-sans-mono-fonts-2.37-1.noarch
    lzo-2.10-2.ppc
    pango-1.40.1-2waixX11.ppc
    ganglia-gmetad-3.7.2-2.ppc
    AIX-rpm-7.2.5.103-16.ppc
    libffi-3.4.2-1.ppc
    libassuan-2.5.5-1.ppc
    json-c-0.15-2.ppc
    libgcrypt-1.9.4-1.ppc
    gmp-6.2.1-1.ppc
    gdbm-1.23-1.ppc
    dnf-data-4.2.17-32_50.ppc
    cyrus-sasl-2.1.28-1.ppc
    gnupg2-2.2.35-1.ppc
    libyaml-0.2.5-1.ppc
    dnf-4.2.17-32_50.ppc
    rrdtool-1.7.2-2.ppc
    libgpg-error-1.45-1.ppc
    libnghttp2-1.46.0-1.ppc
    ncurses-6.3-1.ppc
    libtiff-4.4.0-1.ppc
    gnutls-3.7.2-1.ppc
    libgcc10-10.3.0-6.ppc
    zlib-1.2.13-1.ppc
    sqlite-3.39.3-1.ppc
    libgomp10-10.3.0-6.ppc
    libcomps-0.1.11-101.ppc
    php-common-7.4.33-1.ppc
    gettext-0.21-2.ppc
    python3-3.7.15-2.ppc
    python3-libdnf-0.39.1-32_51.ppc
    libtool-ltdl-devel-2.4.7-1.ppc
    python3-libcomps-0.1.11-101.ppc
    harfbuzz-5.2.0-1.ppc
    libjpeg-9e-1.ppc
    libtool-2.4.7-1.ppc
    expat-2.5.0-1.ppc
    httpd-2.4.55-1.ppc
    libxml2-2.10.3-1.ppc
    libdatrie-0.2.4-1.ppc
    libmcrypt-2.5.8-2.ppc
    tightvnc-server-1.3.10-2.ppc
    libthai-0.1.15-1.ppc
    rpm-3.0.5-52.ppc
    libidn-1.24-1.ppc
    libXpm-3.5.9-1.ppc
    libsigsegv-2.10-1.ppc
    lpar2rrd-agent-7.20-1.ppc
    libstdc++8-8.3.0-6.ppc
    db-5.3.28-1.ppc
    xz-libs-5.2.5-1.ppc
    libtasn1-4.16.0-1.ppc
    m4-1.4.18-1.ppc
    libunistring-0.9.10-1.ppc
    info-6.7-1.ppc
    autoconf-2.71-1.noarch
    pcre-8.44-2.ppc
    p11-kit-0.23.22-1.ppc
    apr-1.7.0-1.ppc
    libconfuse-3.2.2-2.ppc
    ganglia-lib-3.7.2-2.ppc
    make-4.3-1.ppc
    pkg-config-0.29.2-2.ppc
    tcl-8.6.11-1.ppc
    pixman-0.34.0-1.ppc
    libXrender-0.9.8-3waixX11.ppc
    ganglia-mod_ibmrperf-3.7.2-1.ppc
    ganglia-mod_ibmnet-3.7.2-1.ppc
    ganglia-mod_ibmams-3.7.2-1.ppc
    ganglia-mod_aixdisk-3.7.2-1.ppc
    apr-util-1.6.1-1.ppc
    pcre-devel-8.44-2.ppc
    apr-devel-1.7.0-1.ppc
    libXft-2.3.2-4waixX11.ppc
    cairo-1.14.6-2waixX11.ppc
    libiconv-1.17-1.ppc
    libsolv-0.7.9-32_51.ppc
    libsmartcols-2.34-100.ppc
    check-0.13.0-1.ppc
    libpng-1.6.37-1.ppc
    nettle-3.7.3-1.ppc
    freetype2-2.12.1-1.ppc
    pinentry-1.0.0-1.ppc
    perl-5.34.1-1.ppc
    npth-1.5-1.ppc
    gpgme-1.13.1-100.ppc
    python3-gpg-1.13.1-100.ppc
    libmodulemd-1.5.2-100.ppc
    python3-dnf-4.2.17-32_50.ppc
    dnf-automatic-4.2.17-32_50.ppc
    automake-1.16.5-1.noarch
    ca-certificates-2021.2.52-3.ppc
    krb5-libs-1.18.5-2.ppc
    libzstd-1.5.2-1.ppc
    bash-5.1.16-1.ppc
    libgcc-10-2.ppc
    libstdc++10-10.3.0-6.ppc
    libstdc++-10-2.ppc
    libgomp-10-2.ppc
    libssh2-1.10.0-2.ppc
    zchunk-libs-1.1.4-102.ppc
    libtextstyle-0.21-2.ppc
    librepo-1.11.0-101.ppc
    libdnf-0.39.1-32_51.ppc
    libtool-ltdl-2.4.7-1.ppc
    python3-hawkey-0.39.1-32_51.ppc
    python3-librepo-1.11.0-101.ppc
    php-cli-7.4.33-1.ppc
    php-7.4.33-1.ppc
    libksba-1.6.2-1.ppc
    openldap-2.5.12-1.ppc
    expat-devel-2.5.0-1.ppc
    curl-7.86.0-1.ppc
    grep-3.7-2.ppc

    Same list from DNF to show system/DNF.. yes this had lots of Perzl crap on it.

    Installed Packages
    autoconf.noarch                      2.71-1                  @AIX_Toolbox_noarch
    automake.noarch                      1.16.5-1                @AIX_Toolbox_noarch
    dejavu-sans-mono-fonts.noarch        2.37-1                  @AIX_Toolbox_noarch
    ganglia-web.noarch                   3.7.2-3                 @AIX_Toolbox_noarch
    dnf-automatic.ppc                    4.2.17-32_50            @AIX_Toolbox_72    
    dnf-data.ppc                         4.2.17-32_50            @AIX_Toolbox_72    
    dnf.ppc                              4.2.17-32_50            @AIX_Toolbox_72    
    libdnf.ppc                           0.39.1-32_51            @AIX_Toolbox_72    
    libgcc.ppc                           1:10-2                  @AIX_Toolbox_72    
    libgcc10.ppc                         10.3.0-6                @AIX_Toolbox_72    
    libgcc8.ppc                          8.3.0-6                 @AIX_Toolbox_72    
    libgomp.ppc                          1:10-2                  @AIX_Toolbox_72    
    libgomp10.ppc                        10.3.0-6                @AIX_Toolbox_72    
    libgomp8.ppc                         8.3.0-6                 @AIX_Toolbox_72    
    libsolv.ppc                          0.7.9-32_51             @AIX_Toolbox_72    
    libstdc++.ppc                        1:10-2                  @AIX_Toolbox_72    
    libstdc++10.ppc                      10.3.0-6                @AIX_Toolbox_72    
    libstdc++8.ppc                       8.3.0-6                 @AIX_Toolbox_72    
    python3-dnf.ppc                      4.2.17-32_50            @AIX_Toolbox_72    
    python3-hawkey.ppc                   0.39.1-32_51            @AIX_Toolbox_72    
    python3-libdnf.ppc                   0.39.1-32_51            @AIX_Toolbox_72    
    apr-devel.ppc                        1.7.0-1                 @AIX_Toolbox       
    apr-util.ppc                         1.6.1-1                 @AIX_Toolbox       
    apr.ppc                              1.7.0-1                 @AIX_Toolbox       
    atk.ppc                              2.20.0-3                @AIX_Toolbox       
    bash.ppc                             5.1.16-1                @AIX_Toolbox       
    bzip2.ppc                            1.0.8-2                 @AIX_Toolbox       
    ca-certificates.ppc                  2021.2.52-3             @AIX_Toolbox       
    cairo.ppc                            1.14.6-2waixX11         @AIX_Toolbox       
    check.ppc                            0.13.0-1                @AIX_Toolbox       
    curl.ppc                             7.86.0-1                @AIX_Toolbox       
    cyrus-sasl.ppc                       2.1.28-1                @AIX_Toolbox       
    db.ppc                               1:5.3.28-1              @AIX_Toolbox       
    expat-devel.ppc                      2.5.0-1                 @AIX_Toolbox       
    expat.ppc                            2.5.0-1                 @AIX_Toolbox       
    flex.ppc                             2.6.4-1                 @AIX_Toolbox       
    fontconfig.ppc                       2.11.95-4               @AIX_Toolbox       
    freetype2.ppc                        2.12.1-1                @AIX_Toolbox       
    ganglia-devel.ppc                    3.7.2-2                 @AIX_Toolbox       
    ganglia-gmetad.ppc                   3.7.2-2                 @AIX_Toolbox       
    ganglia-gmond.ppc                    3.7.2-2                 @AIX_Toolbox       
    ganglia-lib.ppc                      3.7.2-2                 @AIX_Toolbox       
    ganglia-mod_aixdisk.ppc              3.7.2-1                 @AIX_Toolbox       
    ganglia-mod_ibmame.ppc               3.7.2-1                 @AIX_Toolbox       
    ganglia-mod_ibmams.ppc               3.7.2-1                 @AIX_Toolbox       
    ganglia-mod_ibmfc.ppc                3.7.2-1                 @AIX_Toolbox       
    ganglia-mod_ibmnet.ppc               3.7.2-1                 @AIX_Toolbox       
    ganglia-mod_ibmpower.ppc             3.7.2-1                 @AIX_Toolbox       
    ganglia-mod_ibmrperf.ppc             3.7.2-1                 @AIX_Toolbox       
    gdbm.ppc                             1.23-1                  @AIX_Toolbox       
    gettext.ppc                          0.21-2                  @AIX_Toolbox       
    glib2.ppc                            2.56.1-3                @AIX_Toolbox       
    gmp.ppc                              6.2.1-1                 @AIX_Toolbox       
    gnupg2.ppc                           2.2.35-1                @AIX_Toolbox       
    gnutls.ppc                           3.7.2-1                 @AIX_Toolbox       
    gpgme.ppc                            1.13.1-100              @AIX_Toolbox       
    grep.ppc                             3.7-2                   @AIX_Toolbox       
    harfbuzz.ppc                         5.2.0-1                 @AIX_Toolbox       
    httpd.ppc                            2.4.55-1                @AIX_Toolbox       
    info.ppc                             6.7-1                   @AIX_Toolbox       
    jbigkit-libs.ppc                     2.1-1                   @AIX_Toolbox       
    jbigkit.ppc                          2.1-1                   @AIX_Toolbox       
    json-c.ppc                           0.15-2                  @AIX_Toolbox       
    krb5-libs.ppc                        1.18.5-2                @AIX_Toolbox       
    libXft.ppc                           2.3.2-4waixX11          @AIX_Toolbox       
    libXrender.ppc                       0.9.8-3waixX11          @AIX_Toolbox       
    libart_lgpl.ppc                      2.3.21-2                @AIX_Toolbox       
    libassuan.ppc                        2.5.5-1                 @AIX_Toolbox       
    libcomps.ppc                         0.1.11-101              @AIX_Toolbox       
    libconfuse-devel.ppc                 3.2.2-2                 @AIX_Toolbox       
    libconfuse.ppc                       3.2.2-2                 @AIX_Toolbox       
    libdbi.ppc                           0.9.0-1                 @AIX_Toolbox       
    libffi.ppc                           3.4.2-1                 @AIX_Toolbox       
    libgcrypt.ppc                        1.9.4-1                 @AIX_Toolbox       
    libgpg-error.ppc                     1.45-1                  @AIX_Toolbox       
    libiconv.ppc                         1.17-1                  @AIX_Toolbox       
    libjpeg.ppc                          9e-1                    @AIX_Toolbox       
    libksba.ppc                          1.6.2-1                 @AIX_Toolbox       
    libmodulemd.ppc                      1.5.2-100               @AIX_Toolbox       
    libnghttp2.ppc                       1.46.0-1                @AIX_Toolbox       
    libpng.ppc                           1.6.37-1                @AIX_Toolbox       
    librepo.ppc                          1.11.0-101              @AIX_Toolbox       
    libsmartcols.ppc                     2.34-100                @AIX_Toolbox       
    libssh2.ppc                          1.10.0-2                @AIX_Toolbox       
    libtasn1.ppc                         4.16.0-1                @AIX_Toolbox       
    libtextstyle.ppc                     0.21-2                  @AIX_Toolbox       
    libtiff.ppc                          4.4.0-1                 @AIX_Toolbox       
    libtool-ltdl-devel.ppc               2.4.7-1                 @AIX_Toolbox       
    libtool-ltdl.ppc                     2.4.7-1                 @AIX_Toolbox       
    libtool.ppc                          2.4.7-1                 @AIX_Toolbox       
    libunistring.ppc                     0.9.10-1                @AIX_Toolbox       
    libwebp.ppc                          1.0.2-1                 @AIX_Toolbox       
    libxml2.ppc                          2.10.3-1                @AIX_Toolbox       
    libyaml.ppc                          0.2.5-1                 @AIX_Toolbox       
    libzstd.ppc                          1.5.2-1                 @AIX_Toolbox       
    lzo.ppc                              2.10-2                  @AIX_Toolbox       
    m4.ppc                               1.4.18-1                @AIX_Toolbox       
    make.ppc                             1:4.3-1                 @AIX_Toolbox       
    ncurses.ppc                          6.3-1                   @AIX_Toolbox       
    nettle.ppc                           3.7.3-1                 @AIX_Toolbox       
    npth.ppc                             1.5-1                   @AIX_Toolbox       
    openldap.ppc                         2.5.12-1                @AIX_Toolbox       
    p11-kit-tools.ppc                    0.23.22-1               @AIX_Toolbox       
    p11-kit.ppc                          0.23.22-1               @AIX_Toolbox       
    pango.ppc                            1.40.1-2waixX11         @AIX_Toolbox       
    pcre-devel.ppc                       8.44-2                  @AIX_Toolbox       
    pcre.ppc                             8.44-2                  @AIX_Toolbox       
    perl.ppc                             1:5.34.1-1              @AIX_Toolbox       
    php-cli.ppc                          7.4.33-1                @AIX_Toolbox       
    php-common.ppc                       7.4.33-1                @AIX_Toolbox       
    php.ppc                              7.4.33-1                @AIX_Toolbox       
    pinentry.ppc                         1.0.0-1                 @AIX_Toolbox       
    pixman.ppc                           0.34.0-1                @AIX_Toolbox       
    pkg-config.ppc                       0.29.2-2                @AIX_Toolbox       
    python3-gpg.ppc                      1.13.1-100              @AIX_Toolbox       
    python3-libcomps.ppc                 0.1.11-101              @AIX_Toolbox       
    python3-librepo.ppc                  1.11.0-101              @AIX_Toolbox       
    python3.ppc                          3.7.15-2                @AIX_Toolbox       
    readline.ppc                         8.1-1                   @AIX_Toolbox       
    rrdtool.ppc                          1.7.2-2                 @AIX_Toolbox       
    sed.ppc                              4.8-1                   @AIX_Toolbox       
    sqlite.ppc                           3.39.3-1                @AIX_Toolbox       
    tcl.ppc                              8.6.11-1                @AIX_Toolbox       
    xz-libs.ppc                          5.2.5-1                 @AIX_Toolbox       
    zchunk-libs.ppc                      1.1.4-102               @AIX_Toolbox       
    zlib.ppc                             1.2.13-1                @AIX_Toolbox       
    AIX-rpm.ppc                          7.2.5.103-16            @System            
    jasper.ppc                           1.900.1-2               @System            
    libXpm.ppc                           3.5.9-1                 @System            
    libcroco.ppc                         0.6.1-1                 @System            
    libdatrie.ppc                        0.2.4-1                 @System            
    libidn.ppc                           1.24-1                  @System            
    libmcrypt.ppc                        2.5.8-2                 @System            
    libsigsegv.ppc                       2.10-1                  @System            
    libthai.ppc                          0.1.15-1                @System            
    lpar2rrd-agent.ppc                   7.20-1                  @System            
    rpm-python3.ppc                      4.15.1-32_1             @System            
    rpm.ppc                              3.0.5-52                @System            
    t1lib.ppc                            5.1.2-1                 @System            
    tightvnc-server.ppc                  1.3.10-2                @System            
    unzip-64bit.ppc                      6.0-4                   @System            
    xorg-compat-aix.ppc                  1.0-1                   @System     



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


  • 2.  RE: DNF check shows error, but DNS works, what to do?

    Posted Fri February 10, 2023 01:58 AM

    Hi Douglas,

    Providing rpm command through rpm package was a very old method.

    Not sure how you still have this old rpm package rpm-3.0.5-52.

    If you remove this rpm then probably rpm command is being removed.

    Does it also break DNF ?



    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: DNF check shows error, but DNS works, what to do?

    Posted Fri February 10, 2023 09:23 AM

    Yes it breaks DNF and rpm .. had to restore to alt boot 2 times as once it is broken I have no idea how to fix. This is a monitoring box (ganglia, and was all perzl stuff)   I can break it, play and then reboot on alt boot.. messes up all my stats but we have other data besides ganglia if there are thing I can do to try and fix this, I  can.  As it is, it does not seem to be causing any problems, so if it is better to leave it be, that is fine as well.

    Doug



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



  • 4.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 10:27 AM

    Any other Suggestions on how to fix this or if leaving it will be ok??



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



  • 5.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 11:13 AM

    If it were my box, I would try the following:

    1. Make sure AIX is up to date with the latest fixpack. As this is AIX 7.2, make sure you have the correct openssl and openssh.
    2. Force reinstall the rpm.rte package. Pick "overwrite" and do not install dependent packages.
    3. Run the dnf installer utility from the Linux Toolbox which will make sure you have the correct dependent packages installed.
    4. dnf upgrade

    That may still barf because of the packages you already have installed, but you can either cherry-pick removals, or just remove them all and repeat the steps above.



    ------------------------------
    Mario Stargard
    ------------------------------



  • 6.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 11:19 AM

    One more thing,

    dnf upgrade --allowerasing --best

    has been helpful in the past.



    ------------------------------
    Mario Stargard
    ------------------------------



  • 7.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 11:37 AM
    Edited by Douglas Probst Tue February 14, 2023 11:50 AM

    Looks like something is broken..  I did redownload the script so using the current available 

    # ./dnf_aixtoolbox.sh -y
    Attempting download of dnf_bundle_aix_71_72.tar ...
    lwp-download: 500 Can't connect to public.dhe.ibm.com:80 (Connection refused)
    Failed to download dnf_bundle_aix_71_72.tar

    The script is trying to access as http I added https and it is working so you guys lost the non secure server or redirect is missing.


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



  • 8.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 11:54 AM

    Grab the installer directly.

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_bundle_aix_71_72.tar

    Extract it in a working directory and then,

    ./install_dnf.sh -d



    ------------------------------
    Mario Stargard
    ------------------------------



  • 9.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 11:54 AM
    Edited by Douglas Probst Tue February 14, 2023 01:24 PM

    So following the post above updated rpm.rte, downloaded the dnf package and tried to install and -d did work



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



  • 10.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 01:02 PM

    You have not force-installed rpm. The output says 

    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

    Check your installp options. 

    It looks like you ran the install_dnf.sh without the '-d' which means you install a compatible yum too and it looks like you're getting caught up in a dependency there.

    Since you have a good backup, just fearlessly start removing rpms. The goal is not to clean up the rpm's at this point. It's to clean it up just enough to get dnf going, because that's the tool that will clean this up properly. I would

    rpm -e dnf 

    rpm -e yum

    and if you get caught up with rpm wanting to remove too much stuff, you can force just the individual package to go. 

    rpm -e --nodeps yum

    And still, you have the choice of removing all the rpms. There's apparently a script for that.

    I've gone so far as to completely remove /opt/freeware and then reinstall the rpm lpp and build it up from scratch. It does work.



    ------------------------------
    Mario Stargard
    ------------------------------



  • 11.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 01:13 PM

    Looking at that closer, I think

    rpm -e dnf

    will fix your problem.



    ------------------------------
    Mario Stargard
    ------------------------------



  • 12.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 01:31 PM
    Edited by Douglas Probst Tue February 14, 2023 01:57 PM

    I did force install the rpm.rte from nim, every time you run the toolbox.sh it will try  and install it again..

     rpm -e dnf
    error: Failed dependencies:
            dnf = 4.2.17-32_50 is needed by (installed) dnf-automatic-4.2.17-32_50.ppc

    I think the issue is the ancient rpm that can not be removed without breaking everything

    rpm -aq| grep rpm
    rpm-python3-4.15.1-32_1.ppc
    AIX-rpm-7.2.5.103-16.ppc
    rpm-3.0.5-52.ppc <----------------------------------

    I have since force installed rpm.rte, ran the installer script -d and still no change in dnf check

    # dnf check
    rpm-3.0.5-52.ppc has missing requires of libpopt.so
    Error: Check discovered 1 problem(s)


      rpm -e dnf 
    error: Failed dependencies:
            dnf = 4.2.17-32_50 is needed by (installed) dnf-automatic-4.2.17-32_50.ppc

     rpm -e yum
    error: package yum is not installed

     # rpm -e --nodeps yum
    error: package yum is not installed



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



  • 13.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 02:19 PM

    Is that a real rpm? Can you

    rpm -e --nodeps rpm-3.0.5-52



    ------------------------------
    Mario Stargard
    ------------------------------



  • 14.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 02:47 PM

    yes, but then rpm doesn't work.. and other things, see first post.. might have been from Perzl  really have no idea

    root@cmhsawuqga01 [/tmp] # rpm -qR  rpm-3.0.5-52
    /bin/sh
    /bin/sh
    /usr/bin/ksh
    libbz2.a(libbz2.so.1)
    libc.a(shr.o)
    libpopt.so
    librpm.so
    librpmbuild.so
    librtl.a(shr.o)



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



  • 15.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 03:45 PM

    That's quite a pickle. You have two package managers fighting over the same files. So when you try to remove the rogue rpm it damages files from the lpp rpm. You could try to 

    rpm -e --nodeps rpm

    and then force reinstall the lpp version. If no dependent packages were damaged in that interaction, then it should get you going.

    Another way is to look at the files in each of the rpm packages.

    lslpp -f rpm.rte

    rpm -ql rpm

    then remove just the db entry for the rogue version.

    rpm -e --justdb rpm

    This will leave the files it owned behind. Of course, now you have to clean those up by comparing the two rpm lists. But at least your rpm dependency issue should be solved as far the db is concerned. 

    One last approach is to ignore it. Isn't 7.2 winding down? Make 7.3 a fresh install instead of an upgrade.



    ------------------------------
    Mario Stargard
    ------------------------------



  • 16.  RE: DNF check shows error, but DNS works, what to do?

    Posted Tue February 14, 2023 03:57 PM
    Edited by Douglas Probst Tue February 14, 2023 04:11 PM

    For this one I think I will just leave it be.  dnf is working fine for now, just the dnf check that complains..  Maybe if I get board I will give you suggestions a try to fix it, but I have a feeling I would end up rebooting on the alt boot in a completely hosed state ;-)  Not an open source guy at all. Hated the rpm hell that was Perzl and probably never should have used it, but they wanted ganglia and ssl and all the other stuff that was free.   

    I have that other thread which is a qa db server which I do need to fix if you have any ideas there.. DNF not working on that one.

    Thanks for all the assistance!

    Doug

    Update.

    I removed the rpm form the db and that did clean up the dnf check error .. looking at the list of files that I created before removing from the db, many are links to current so I am just going leave this be.. not sure what to remove at this point but nothing is complaining atm



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



  • 17.  RE: DNF check shows error, but DNS works, what to do?

    Posted Wed February 15, 2023 10:52 AM

    Hi Douglas,

    The suggestion provided by Mario in previous post should work.

    If you don't want to compare the files then the other way is to.

    First removing rpm with --nodeps. It removes the rpm package along with some files owned by rpm.rte.

    To restore rpm.rte files back again you can reinstall it by force.



    ------------------------------
    SANGAMESH
    ------------------------------