Bhargav
Bhargav

Reputation: 21

rpm i386 patch did not recognize dependency patch with x86_64

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).

Below is the error message:

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

Answers (1)

Jeff Johnson
Jeff Johnson

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

Related Questions