Unpacking archive failed error: Elasticsearch 7.1.0 -rpm

Hi i am trying to install elasticsearch 7.1.0 using an rpm file in a Linux RHEL 7.x machine and when i hit
sudo rpm --install elasticsearch-7.1.0-x86_64.rpm
or
sudo rpm -ivh elasticsearch-7.1.0-x86_64.rpm
i am receiving the following error.
[sa_elasticsearch@strproelk04 installers]$ sudo rpm -ivh elasticsearch-7.1.0-x86_64.rpm warning: elasticsearch-7.1.0-x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY Preparing... ################################# [100%] Updating / installing... 1:elasticsearch-0:7.1.0-1 ################################# [100%] error: unpacking of archive failed on file /usr/share/elasticsearch/bin/elasticsearch-sql-cli-7.1.0.jar;5dcb86c1: cpio: read failed - No such file or directory error: elasticsearch-0:7.1.0-1.x86_64: install failed

I have no idea here, can someone please help me out?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.