This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new c1dca27 AMBARI-24982. APT/DPKG existence check broken for packages
with long names. (#2680)
c1dca27 is described below
commit c1dca2715258d385b8946f5fc537392c668b30ae
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Dec 4 23:21:37 2018 +0100
AMBARI-24982. APT/DPKG existence check broken for packages with long names.
(#2680)
---
.../src/main/python/ambari_commons/repo_manager/apt_manager.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
b/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
index 5882253..c986e3b 100644
--- a/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
+++ b/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
@@ -49,7 +49,7 @@ class AptManagerProperties(GenericManagerProperties):
repo_update_cmd = [repo_manager_bin, 'update', '-qq']
available_packages_cmd = [repo_cache_bin, "dump"]
- installed_packages_cmd = [pkg_manager_bin, "-l"]
+ installed_packages_cmd = ['COLUMNS=999', pkg_manager_bin, "-l"]
repo_definition_location = "/etc/apt/sources.list.d"