Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KendalYaman opened this issue Jul 13, 2022 · 2 comments
Open

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

KendalYaman opened this issue Jul 13, 2022 · 2 comments

Comments

@KendalYaman
Copy link

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
Copy link
Contributor

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
Copy link
Author

Thank you for your reply.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants