Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17791

C* 4.0.5 RPM installation fails due to JRE 8/11 fix for CASSANDRA-17669

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • All
    • None

    Description

      Trying to install cassandra 4.0.5 results in the following error on centos/redhat7

      yum upgrade cassandra
      Loaded plugins: changelog, remove-with-leaves
      Resolving Dependencies
      --> Running transaction check
      ---> Package cassandra.noarch 0:4.0.1-1 will be updated
      --> Processing Dependency: cassandra = 4.0.1-1 for package: cassandra-tools-4.0.1-1.noarch
      ---> Package cassandra.noarch 0:4.0.5-1 will be an update
      Error: Invalid version flag: or
       

      Issue comes from this commit

      https://github.com/apache/cassandra/commit/cd0a40d09e5c029e3cac260ecf4cb3dc02deabc7

      Requirement being 

      Requires: (jre-1.8.0 or jre-11)

      but or is a feature added only in RHEL 8 or in rpm package version 4.13 + 

      https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/packaging_and_distributing_software/new-features-in-rhel-8_packaging-and-distributing-software#assembly_support-for-boolean-dependencies_new-features-in-rhel-8

      I think there should be dependency on newer version of rpm, or change the requirement

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gilg Gil Ganz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: