Re: -Upgrading RPMs

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

 



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)


_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux