"Requires" range
Paul
rpm83455 at rainslide.net
Tue Sep 15 12:44:15 UTC 2015
Thanks for the quick reply, Florian! Unfortunately, neither of these work:
>Requires: java >= 1.6
>Conflicts: java >= 1.8
Error: foo conflicts with 1:java-1.8.0-openjdk-1.8.0.51-1.b16.el6_7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
>Requires: java < 1.8
>Conflicts: java < 1.6
Error: Package: foo (bar)
Requires: java < 1.8
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
>This has the disadvantage you cannot install java (depending of the
>variant used) < 1.6 or 1.8 in parallel of your package.
That would be OK.
>The brand new rpm 4.13 could use:
>Requires: (java = 1.6 or java = 1.7)
Sounds good, but I need to use the version that already comes with RHEL and CentOS. Thanks for your help.
More information about the Rpm-list
mailing list