Reputation: 21
I have an rpm patch "test_patch2-c-102.rpm"(i386) this patch Requires "test_patch-101-b.rpm"(x86_64).
We specified the requires like this. Requires: test_patch = 101
In my target "test_patch-101-b.rpm"(x86_64) is already installed. However when try to install the patch "test_patch2-c-102.rpm"(i386) it does not recognize the "test_patch-101-1.rpm"(x86_64).
error: Failed dependencies: test_patch = 101 is needed by test_patch2-c-102.i386
Please help me to fix this issue
Upvotes: 0
Views: 52
Reputation: 2390
You seem to be adding a require on a package file name like
Requires: test_patch-101-1.rpm
Try writing the dependency on the package name/version/release (not the file name)
Requires: test_patch = 101-1
Change the comparison to taste ( like
Requires: test_patch >= 101
Upvotes: 0