• Comments
  • yum update makes other installed package fail

    Posted on

    Hi
    I was doing yum update of a package (AAAA), this package had dependecies. When i ran yum update, it updated the package which is correct, but it caused other already installed package (XXXXX) to fail. I mean there was another package which was already installed and one of the dependency of this package was updated by the update command.
    It started saying, ERROR: PACKAGE XXXXX requires YYYYY , found ZZZZ, YYYYY updated by ZZZZ.
    This is not what i want, i want both packages AAAA and XXXXX. Is there any way to achieve this? Or the only way is to update XXXXX ?
    What's the command which can list which packages which are dependent on any dependency?
    I'm using RHEL 7

    Eg of above case,
    Error: Package: nss-tools-3.44.0-4.el7.x86_64 (/nss-tools-3.44.0-4.el7.x86_64)
    Requires: nss(x86-64) = 3.44.0-4.el7
    Installed: nss-3.44.0-7.el7_7.x86_64 (@7_x86_64)
    nss(x86-64) = 3.44.0-7.el7_7

    by

    points

    Responses

    Red Hat
    © 2025 Red Hat, Inc.