TheHive-Project / TheHive

TheHive: a Scalable, Open Source and Free Security Incident Response Platform
https://thehive-project.org
GNU Affero General Public License v3.0
3.39k stars 617 forks source link

TheHive installation issue: Error Invalid version flag: or #2403

Open KendalYaman opened 2 years ago

KendalYaman commented 2 years ago

Hello,

I attempt to upgrade from 4.1.16-1 to 5.x. So, I followed the steps mentioned here: https://docs.strangebee.com/thehive/setup/installation/upgrade-from-4.x/#install-thehive_1

However, when I run sudo yum install thehive

I get the the following output:

Resolving Dependencies
--> Running transaction check
---> Package thehive.noarch 0:5.0.9-1 will be installed
Error: Invalid version flag: or

I am on Oracle Linux 7.9

I would like to know how I can fix it.

Thank you in advance for your help and your support.

vdebergue commented 2 years ago

With TheHive 5 we use an or operator for our dependencies: (java-11-openjdk-headless or java-1.8.0-openjdk-headless)

This boolean is available with rpm 4.13: https://rpm-software-management.github.io/rpm/manual/boolean_dependencies.html

KendalYaman commented 2 years ago

Thank you for your reply.

So, I guess, I have to upgrade rpm to version 4.13.