---
 docs/yum.8 |    2 ++
 output.py  |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/docs/yum.8 b/docs/yum.8
index f9eb7fd..053173d 100644
--- a/docs/yum.8
+++ b/docs/yum.8
@@ -320,6 +320,8 @@ if there was something not good with the transaction.
 .br
 .I \fBE\fR - The transaction completed fine, but had warning/error output 
during the transaction.
 .br
+.I \fBP\fR - The transaction completed fine, but problems already existed in 
the rpmdb.
+.br
 .I \fBs\fR - The transaction completed fine, but --skip-broken was enabled and 
had to skip some packages.
 .br
 
diff --git a/output.py b/output.py
index 188c52a..484fd5e 100755
--- a/output.py
+++ b/output.py
@@ -1333,6 +1333,8 @@ to exit.
                 # We don't check .errors, because return_code will be non-0
             elif old.output:
                 rmark = lmark = 'E'
+            elif old.rpmdb_problems:
+                rmark = lmark = 'P'
             elif old.trans_skip:
                 rmark = lmark = 's'
             if old.altered_lt_rpmdb:
-- 
1.7.0.1

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to