We face some problem in picking dependency during RPM upgrade for our product.
Our product is bundled as ISO (Customized CentOS RPMs + our software RPMs).
During upgrade, a local repo is created using the ISO and used by "yum upgrade" to upgrade the product.
Here is the issue,
Older version of our box has below packages already installed (no openssl 32 bit already installed):
myproduct-V7.18.0.R-2.i386
openssl-1.0.1e-42.Our-Custom-6_5.4.R3.10.1.x86_64
New ISO has below (trying to move to el6 version of openssl 64 bit and additionally requires openssl el6 32 bit this time):
myproduct-V7.18.0.R-3.i386
openssl-1.0.1e-42.el6_7.4.i686
openssl-1.0.1e-42.el6_7.4.x86_64
Above myproduct RPM is built with below in RPM spec,
Code: Select all
Requires: openssl(x86-64)
Requires: openssl-1.0.1e-42.el6_7.4.i686
Code: Select all
Checking deps for myproduct.i386 0:V7.18.0.R-3 - u
looking for ('openssl-1.0.1e-42.el6_7.4.i686', None, (None, None, None)) as a requirement of myproduct.i386 0:V7.18.0.R-3 - u
looking for ('openssl(x86-64)', None, (None, None, None)) as a requirement of myproduct.i386 0:V7.18.0.R-3 - u
myproduct-V7.18.0.R-3.i386 requires: openssl-1.0.1e-42.el6_7.4.i686
--> Processing Dependency: openssl-1.0.1e-42.el6_7.4.i686 for package: myproduct-V7.18.0.R-3.i386
Searching pkgSack for dep: openssl-1.0.1e-42.el6_7.4.i686
...
---> Package openssl.x86_64 0:1.0.1e-42.Our-Custom-6_5.4.R3.10.1.x86_64 will be updated
Checking deps for openssl.x86_64 0:1.0.1e-42.Our-Custom-6_5.4.R3.10.1.x86_64 - ud
---> Package openssl.x86_64 0:1.0.1e-42.el6_7.4 will be an update
Checking deps for openssl.x86_64 0:1.0.1e-42.el6_7.4 - u
--> Finished Dependency Resolution
...
Code: Select all
Error: Package: myproduct-V7.18.0.R-3.i386 (local-repo-name)
Requires: openssl-1.0.1e-42.el6_7.4.i686
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Thanks in advance.
Regards,
Srini