[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: -Upgrading RPMs



RPM's require-relationship is a very intelligent one. A-1.1 can Require: B >= 1.1 if any later version of B will be OK, or Require: B == 1.1 if only 1.1 version will work with it. More details below.

puneet puri wrote:
a) If A-1-1 needs B-1-1 and we want to Upgrade only
B-1-1 , then would the RPM allow to upgrade B-1-1 ?
As long as A-1.1 doesn't require B <= 1.1.


b) If we are not aware of what packages need B-1-1 can we still simply go ahead and upgrade only B-1-1 ? using the -Upgrade command

For e.g rpm -Uvh B-2-2.rpm

You can use the following to find out what packages need B-1-1:
    rpm -q --whatrequires B-1.1
And you can use
    rpm -q --requires A-1.1
to find out the details of the require-relationship between A & B.


PS: Is is a better way to express version as 1.1 rather than 1-1. That's why I used 1.1 in my reply rather than your notation 1-1.




Liguo (Leo)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]