Re: "Requires" range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux