Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

1 Answer 1

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:

Package_1.0.rpm

Dependent_package_1.0.rpm

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

 
discard

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.