You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/12/04 23:00:00 UTC

[jira] [Commented] (AMBARI-24982) APT/DPKG existence check broken for packages with long names

    [ https://issues.apache.org/jira/browse/AMBARI-24982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16709377#comment-16709377 ] 

Hudson commented on AMBARI-24982:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10356 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10356/])
AMBARI-24982. APT/DPKG existence check broken for packages with long (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=c1dca2715258d385b8946f5fc537392c668b30ae])
* (edit) ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py


> 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
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.8.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)