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.  failed dependencies when i run yum update...

    Posted Thu December 27, 2018 08:22 PM

    Originally posted by: mmetts


    Hi, I'm getting failed dependency errors when I run YUM update.  It's strange because I think this particular system is AIX_Toolbox so I'm not sure how things got out of sync.  Specifically, it looks like postgres wants and update that deadends with tcl/tk.  Please see below.  Also, when I run the recommended rpm -Va I get another strange dependency error.  Please help me out.  Thanks.

    Mike

    bash-4.4# yum update

    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package tcl.ppc 0:8.6.6-2 will be updated
    --> Processing Dependency: libtcl8.6.a(libtcl8.6.so) for package: postgresql-libs-10.5-1.ppc
    --> Processing Dependency: libtcl8.6.a(libtcl8.6.so) for package: postgresql-10.5-1.ppc
    ---> Package tcl.ppc 0:8.6.8-1 will be an update
    --> Finished Dependency Resolution
    Error: Package: postgresql-libs-10.5-1.ppc (@AIX_Toolbox)
               Requires: libtcl8.6.a(libtcl8.6.so)
               Removing: tcl-8.6.6-2.ppc (@AIX_Toolbox)
                   libtcl8.6.a(libtcl8.6.so)
               Updated By: tcl-8.6.8-1.ppc (AIX_Toolbox)
                   Not found
    Error: Package: postgresql-10.5-1.ppc (@AIX_Toolbox)
               Requires: libtcl8.6.a(libtcl8.6.so)
               Removing: tcl-8.6.6-2.ppc (@AIX_Toolbox)
                   libtcl8.6.a(libtcl8.6.so)
               Updated By: tcl-8.6.8-1.ppc (AIX_Toolbox)
                   Not found
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest

     

    bash-4.4# rpm -Va --nofiles --nodigest
    Unsatisfied dependencies for AIX-rpm-7.1.4.30-4.ppc:
            file is needed by (installed) AIX-rpm-7.1.4.30-4.ppc
            file-libs is needed by (installed) AIX-rpm-7.1.4.30-4.ppc
            lua is needed by (installed) AIX-rpm-7.1.4.30-4.ppc
            nspr is needed by (installed) AIX-rpm-7.1.4.30-4.ppc
            nss is needed by (installed) AIX-rpm-7.1.4.30-4.ppc
            patch is needed by (installed) AIX-rpm-7.1.4.30-4.ppc
            popt is needed by (installed) AIX-rpm-7.1.4.30-4.ppc
            rpm is needed by (installed) AIX-rpm-7.1.4.30-4.ppc

     

     



  • 2.  Re: failed dependencies when i run yum update...

    Posted Fri December 28, 2018 01:26 AM

    Originally posted by: Ravikanth.sh


    Hi , We noticed and fixed this issue which is with tcl rpm. We will upload  fixed version of tcl soon.,



  • 3.  Re: failed dependencies when i run yum update...

    Posted Fri December 28, 2018 01:37 AM

    Originally posted by: mmetts


    Great.  Thanks.  I also noticed iconv is in AIX_Tools now and postgres seems to precipitate it's install on one of our systems.  Doesn't that conflict with the native iconv?  Also, I've forgotten the command to re-sync the rpm library with any changes that might have occurred in the installp packages.  Do you have that handy or better yet a FAQ containing things like that you can point to?  Thanks again!   ...specifically I'm thinking of the iconv and also the fact that my `rpm -Va` command (above) does not come back clean.  I'd like to fix that.  



  • 4.  Re: failed dependencies when i run yum update...

    Posted Fri December 28, 2018 01:57 AM

    Originally posted by: AyappanP


    The libiconv rpm won't conflict with the native iconv. And "updtvpkg" is the command which you seek.

    And about the "rpm -Va" issue, run it again after updtvpkg and check.

    If it is still showing the issue, paste the output of below commands.

    rpm -qa 

    lslpp -l rpm.rte



  • 5.  Re: failed dependencies when i run yum update...

    Posted Fri December 28, 2018 02:30 AM

    Originally posted by: mmetts


    Thanks.   Still doing it...

     

    bash-4.4# !479
    rpm -Va --nofiles --nodigest
    Unsatisfied dependencies for AIX-rpm-7.1.5.0-5.ppc:
            file is needed by (installed) AIX-rpm-7.1.5.0-5.ppc
            file-libs is needed by (installed) AIX-rpm-7.1.5.0-5.ppc
            lua is needed by (installed) AIX-rpm-7.1.5.0-5.ppc
            nspr is needed by (installed) AIX-rpm-7.1.5.0-5.ppc
            nss is needed by (installed) AIX-rpm-7.1.5.0-5.ppc
            patch is needed by (installed) AIX-rpm-7.1.5.0-5.ppc
            popt is needed by (installed) AIX-rpm-7.1.5.0-5.ppc
            rpm is needed by (installed) AIX-rpm-7.1.5.0-5.ppc
    bash-4.4# rpm -qa
    yum-metadata-parser-1.1.4-2.ppc
    libtiff-3.8.2-1.ppc
    libtasn1-4.9-2.ppc
    gdbm-1.12-1.ppc
    yum-3.4.3-6.noarch
    gnutls-3.5.14-1.ppc
    mpfr-3.1.2-3.ppc
    unixODBC-2.3.5-1.ppc
    readline-7.0-5.ppc
    make-4.2.1-4.ppc
    autoconf-2.69-1.noarch
    automake-1.16.1-1.noarch
    grep-3.1-1.ppc
    libtool-ltdl-devel-2.4.6-2.ppc
    sqlite-3.23.0-1.ppc
    ncurses-6.1-1.ppc
    expat-2.2.4-1.ppc
    bzip2-1.0.6-2.ppc
    fontconfig-2.11.95-3.ppc
    libgpg-error-1.29-1.ppc
    libXrender-0.9.8-2waixX11.ppc
    vim-common-8.0-3.ppc
    vim-enhanced-8.0-3.ppc
    libgcrypt-1.8.2-1.ppc
    gzip-1.8-3.ppc
    tar-1.30-1.ppc
    libjpeg-6b-7.ppc
    libssh2-1.8.0-3.ppc
    db-6.2.32-2.ppc
    perl-5.28.0-1.ppc
    libgcc-6.3.0-2.ppc
    openldap-2.4.46-1.ppc
    gcc-6.3.0-2.ppc
    python-2.7.15-2.ppc
    samba-devel-4.6.16-1.ppc
    samba-winbind-clients-4.6.16-1.ppc
    libsmbclient-4.6.16-1.ppc
    iperf3-devel-3.6-1.ppc
    gcc-c++-6.3.0-2.ppc
    samba-4.6.16-1.ppc
    python-tools-2.7.15-2.ppc
    curl-7.61.1-1.ppc
    tcl-8.6.6-2.ppc
    libxml2-2.9.7-1.ppc
    postgresql-10.5-1.ppc
    git-2.18.0-1.ppc
    git-gui-2.18.0-1.ppc
    python-iniparse-0.4-1.noarch
    python-urlgrabber-3.10.1-1.noarch
    zlib-1.2.11-1.ppc
    libpng-1.6.27-2.ppc
    p11-kit-0.23.2-1.ppc
    libpaper-1.1.24-2.ppc
    libmpc-1.0.3-1.ppc
    libtool-ltdl-2.4.6-2.ppc
    unixODBC-devel-2.3.5-1.ppc
    readline-devel-7.0-5.ppc
    m4-1.4.17-1.ppc
    sed-4.4-1.ppc
    libtool-2.4.6-2.ppc
    cups-libs-2.2.3-3.ppc
    bash-4.4-3.ppc
    gmp-6.1.2-1.ppc
    dbus-1.11.12-1.ppc
    libffi-3.2.1-2.ppc
    freetype2-2.8-1.ppc
    glib2-2.56.1-2.ppc
    coreutils-8.29-2.ppc
    cyrus-sasl-2.1.26-3.ppc
    cups-2.2.3-3.ppc
    ca-certificates-2017.07.17-1.ppc
    python-pycurl-7.43.0-1.ppc
    libXft-2.3.2-4waixX11.ppc
    wget-1.19.2-1.ppc
    nettle-3.4-1.ppc
    pysqlite-2.8.3-1.ppc
    rsync-3.1.3-2.ppc
    xz-libs-5.2.3-1.ppc
    info-6.4-1.ppc
    gettext-0.19.8.1-3.ppc
    gcc-cpp-6.3.0-2.ppc
    libstdc++-6.3.0-2.ppc
    samba-libs-4.6.16-1.ppc
    samba-winbind-4.6.16-1.ppc
    samba-common-4.6.16-1.ppc
    libstdc++-devel-6.3.0-2.ppc
    iperf3-3.6-1.ppc
    samba-client-4.6.16-1.ppc
    python-devel-2.7.15-2.ppc
    gcc-gfortran-6.3.0-2.ppc
    libiconv-1.14-1.ppc
    postgresql-libs-10.5-1.ppc
    less-487-1.ppc
    perl-Git-2.18.0-1.ppc
    AIX-rpm-7.1.5.0-5.ppc

    bash-4.4# lslpp -l rpm.rte
      Fileset                      Level  State      Description
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      rpm.rte                   4.13.0.1  COMMITTED  RPM Package Manager

    Path: /etc/objrepos
      rpm.rte                   4.13.0.1  COMMITTED  RPM Package Manager
    bash-4.4#



  • 6.  Re: failed dependencies when i run yum update...

    Posted Fri December 28, 2018 02:56 AM

    Originally posted by: AyappanP


    Seems like the packages shown in the Unsatisfied dependencies are forcefully removed from the system.

    It's always better to install them back. 

     



  • 7.  Re: failed dependencies when i run yum update...

    Posted Fri December 28, 2018 10:20 AM

    Originally posted by: mmetts


    ok.  I installed them all and now I'm left with this:

     

    bash-4.4# !503
    rpm -Va --nofiles --nodigest
    Unsatisfied dependencies for AIX-rpm-7.1.5.0-5.ppc:
            rpm is needed by (installed) AIX-rpm-7.1.5.0-5.ppc

     

    ...is this normal or are there other fixes I should undertake?  thanks.



  • 8.  Re: failed dependencies when i run yum update...

    Posted Fri December 28, 2018 10:27 AM

    Originally posted by: AyappanP


    This is not a ideal situation but it won't create any issues.