Doroszlai, Attila created AMBARI-24982:
------------------------------------------
Summary: APT/DPKG existence check broken for packages with long
names
Key: AMBARI-24982
URL: https://issues.apache.org/jira/browse/AMBARI-24982
Project: Ambari
Issue Type: Bug
Affects Versions: 2.8.0
Reporter: Doroszlai, Attila
Assignee: Doroszlai, Attila
Fix For: 2.8.0
AMBARI-24632 addressed package existence check for system packages. However,
it may still not work correctly for packages with longer names, depending on
the environment:
{noformat}
output-2.txt:2018-12-01 19:33:54,576 - Installing package unzip
('/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated
--assume-yes install unzip')
output-2.txt:2018-12-01 19:34:02,873 - Installing package hdp-select
('/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated
--assume-yes install hdp-select')
output-2.txt:2018-12-01 19:34:05,443 - Installing package zookeeper-3-0-1-0-187
('/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated
--assume-yes install zookeeper-3-0-1-0-187')
output-2.txt:2018-12-01 19:34:08,832 - Installing package
zookeeper-3-0-1-0-187-server ('/usr/bin/apt-get -o
Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install
zookeeper-3-0-1-0-187-server')
output-3.txt:2018-12-01 19:34:14,450 - Installing package zookeeper-3-0-1-0-187
('/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated
--assume-yes install zookeeper-3-0-1-0-187')
output-3.txt:2018-12-01 19:34:16,253 - Installing package
zookeeper-3-0-1-0-187-server ('/usr/bin/apt-get -o
Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install
zookeeper-3-0-1-0-187-server')
{noformat}
This was reproduced with non-root agent user.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)