Cannot install opensearch with yum

Hello :slight_smile:

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch 1.3.12
RHEL 7
OpenJDK 11

Describe the issue:
I want to install Opensearch with Yum but when I do I have the following issue (view screenshot)

I’ve been trying multiple things but none of them seems to work

Thank you !

Hey @7suna

By chance did you follow these instructions?

Hi !

Yes I did and got stuck at Step 1.3

@7suna I’ve installed it successfully on REHL7

sh-4.2# curl -O https://artifacts.opensearch.org/releases/bundle/opensearch/1.3.14/opensearch-1.3.14-linux-x64.rpm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  384M  100  384M    0     0  99.8M      0  0:00:03  0:00:03 --:--:-- 99.8M
sh-4.2# curl -O https://artifacts.opensearch.org/releases/bundle/opensearch/1.3.12/opensearch-1.3.12-linux-x64.rpm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  383M  100  383M    0     0   101M      0  0:00:03  0:00:03 --:--:--  101M
sh-4.2# yum install op
opensearch-1.3.12-linux-x64.rpm  opensearch-1.3.14-linux-x64.rpm  opt/
sh-4.2# yum install op
opensearch-1.3.12-linux-x64.rpm  opensearch-1.3.14-linux-x64.rpm  opt/
sh-4.2# yum install opensearch-1.3.12-linux-x64.rpm
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
Network error code: 400
Examining opensearch-1.3.12-linux-x64.rpm: opensearch-1.3.12-1.x86_64
Marking opensearch-1.3.12-linux-x64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package opensearch.x86_64 0:1.3.12-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================
 Package                          Arch                         Version                        Repository                                          Size
=======================================================================================================================================================
Installing:
 opensearch                       x86_64                       1.3.12-1                       /opensearch-1.3.12-linux-x64                       618 M

Transaction Summary
=======================================================================================================================================================
Install  1 Package

Total size: 618 M
Installed size: 618 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
  Installing : opensearch-1.3.12-1.x86_64                                                                                                          1/1
Failed to get D-Bus connection: Operation not permitted
warning: %post(opensearch-1.3.12-1.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package opensearch-1.3.12-1.x86_64
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/solutions/69319

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

  Verifying  : opensearch-1.3.12-1.x86_64                                                                                                          1/1

Installed:
  opensearch.x86_64 0:1.3.12-1

Try downloading the rpm file as I did with curl or wget and then install it.