Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If the dependencies of the two different versions of RPM are same, would yum update remove and install dependencies too?

share|improve this question

migrated from stackoverflow.com Feb 8 '13 at 12:13

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

Simple answer is no. The YUM updater is smart enough to determine dependencies in the installed package manifest. For example:

Say you have two packages:



And you want to upgrade Package_1.0.rpm to Package_2.0.rpm but the dependency is still Dependent_package_1.0.rpm, YUM will do the following:

yum update Package_1.0

Would you like to install Package_2.0?

It's smart enough to know that Dependent_package_1.0 satisfies the dependencies for both Package_1.0 and Package_2.0

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.