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
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.