The 'Nothing to do' error typically means yum can't find the package it is trying to install, which could mean your local repo is not configured correctly
can you run
yum repolist
and make sure you have the metron repo available
20.06.2018, 17:08, "Ahmed Shah" <[email protected]>:
Hello,
I'm trying to install Metron 0.5.0-rc2 as an MPack with Amabari. I'm using the following instructions:
https://github.com/apache/metron/tree/master/metron-deployment/packaging/ambari/metron-mpack
I'm coming across a "Failed to install package metron-common" error that JonZeolla similarly posted here:
https://gist.github.com/JonZeolla/3923f93a3e31c8064c4d77db89431106
Here is the error I'm encountering
-----------------------------------------------------
.
.
resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install metron-common' returned 1. Error: Nothing to do
.
.
Package['metron-common'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-11-16 19:46:26,407 - Installing package metron-common ('/usr/bin/yum -d 0 -e 0 -y install metron-common')
2017-11-16 19:46:27,254 - Execution of '/usr/bin/yum -d 0 -e 0 -y install metron-common' returned 1. Error: Nothing to do
2017-11-16 19:46:27,255 - Failed to install package metron-common. Executing '/usr/bin/yum clean metadata'
.
.
-----------------------------------------------------
Anyone know how to resolve this?
I'm not sure if this is tied to the problem.
When I run "mvn clean package -DskipTests -Pbuild-debs" in /metron-apache-metron-0.5.0-rc2/ the build fails at "metron-debs". When I looked deeper into this it seems that the docker is not able to connect to the internet perform "yum installs".
-Ahmed
-------------------
Thank you,
James Sirota
PMC- Apache Metron
jsirota AT apache DOT org
