Dmytro Grinenko created AMBARI-21759:
----------------------------------------
Summary: yumrpm provider doesn't parses installed packages in a
same way on different CentOS versions
Key: AMBARI-21759
URL: https://issues.apache.org/jira/browse/AMBARI-21759
Project: Ambari
Issue Type: Bug
Components: ambari-sever
Affects Versions: 2.6.0
Reporter: Dmytro Grinenko
Assignee: Dmytro Grinenko
Priority: Critical
Fix For: 2.6.0
the command:
{code}
yum list installed | grep "HDP-2.5-repo-1"|tr '\n' '#' | sed -e 's/# / /g' | tr
'#' '\n'|awk '{printf "%s;%s;%s\n", $1,$2,$3}'
hdp-select.noarch;2.5.0.0-1237.el6;@HDP-2.5-repo-1
{code}
can provide wrong output, depends on yum/centos version. We should use the old
way for parsing yum output
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)