I am trying to install kibana but it keeps failing. I had no problem with logstash and elasticsearch.
They upgraded from 6.1 to 6.2 no problem, but kibana keeps bombing out of the yum install.
I use the kibana.repo ( see below) right form the online docs.
These are the error messages
</>error: %pre(kibana-6.2.0-1.x86_64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package kibana-6.2.0-1.x86_64
kibana-6.1.0-1.x86_64 was supposed to be removed but is not!
</>
</>
[vm1 ~]# yum install kibana
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
- epel: mirror.steadfast.net
Resolving Dependencies
--> Running transaction check
---> Package kibana.x86_64 0:6.1.0-1 will be updated
---> Package kibana.x86_64 0:6.2.0-1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
Updating:
kibana x86_64 6.2.0-1 elasticsearch-6.x 81 M
Transaction Summary
Upgrade 1 Package
Total download size: 81 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for elasticsearch-6.x
kibana-6.2.0-x86_64.rpm | 81 MB 00:00:05
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
error: %pre(kibana-6.2.0-1.x86_64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package kibana-6.2.0-1.x86_64
kibana-6.1.0-1.x86_64 was supposed to be removed but is not!
Verifying : kibana-6.1.0-1.x86_64 1/2
Verifying : kibana-6.2.0-1.x86_64 2/2
Failed:
kibana.x86_64 0:6.1.0-1 kibana.x86_64 0:6.2.0-1
Complete!
[vm1 ~]#
</>
</>
[vm1 yum.repos.d]# cat kibana.repo
[kibana-6.x]
name=Kibana repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
[vm1 yum.repos.d]#
</>