Gil Ganz created CASSANDRA-17791:
------------------------------------

             Summary: 4.0.5 install issue due to package requirement supported 
by certain rpm package version
                 Key: CASSANDRA-17791
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17791
             Project: Cassandra
          Issue Type: Bug
            Reporter: Gil Ganz


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to