[Yum-devel] [PATCH 7/9] Mark pre-exsting rpmdb problems in history list, with 'P'.

Tim Lauridsen tim.lauridsen at googlemail.com
Fri May 7 16:44:53 UTC 2010


On Thu, May 6, 2010 at 9:12 PM, James Antill <james at and.org> wrote:

> ---
>  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 at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>

ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20100507/f6c3c897/attachment.htm>


More information about the Yum-devel mailing list