This is an automated email from the ASF dual-hosted git repository.
aonishuk 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 9204bb5 AMBARI-23058. yum installation fails if there is any
transaction files (aonishuk)
9204bb5 is described below
commit 9204bb59abaf4df097130f737d8c5c1c54f1c66c
Author: Andrew Onishuk <[email protected]>
AuthorDate: Thu Oct 4 13:49:56 2018 +0300
AMBARI-23058. yum installation fails if there is any transaction files
(aonishuk)
---
.../src/main/python/ambari_commons/repo_manager/yum_manager.py | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/ambari-common/src/main/python/ambari_commons/repo_manager/yum_manager.py
b/ambari-common/src/main/python/ambari_commons/repo_manager/yum_manager.py
index 8e2931e..95e92cf 100644
--- a/ambari-common/src/main/python/ambari_commons/repo_manager/yum_manager.py
+++ b/ambari-common/src/main/python/ambari_commons/repo_manager/yum_manager.py
@@ -450,6 +450,9 @@ Ambari has detected that there are incomplete Yum
transactions on this host. Thi
- Identify the pending transactions with the command 'yum history list
<packages failed>'
- Revert each pending transaction with the command 'yum history undo'
- Flush the transaction log with 'yum-complete-transaction --cleanup-only'
+
+If the issue persists, old transaction files may be the cause.
+Please delete them from /var/lib/yum/transaction*
"""
for line in help_msg.split("\n"):