[Yum-devel] [PATCH] Workaround more problems with auto_close.
seth vidal
skvidal at fedoraproject.org
Mon Nov 22 19:53:55 UTC 2010
On Mon, 2010-11-22 at 14:50 -0500, James Antill wrote:
> ---
> yum/__init__.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/yum/__init__.py b/yum/__init__.py
> index e036f86..a13ad96 100644
> --- a/yum/__init__.py
> +++ b/yum/__init__.py
> @@ -945,7 +945,7 @@ class YumBase(depsolve.Depsolve):
> # works for downloads / mirror failover etc.
> kern_pkgtup = None
> if rescode == 2 and self.conf.protected_packages:
> - kern_pkgtup = misc.get_running_kernel_pkgtup(self.rpmdb.ts)
> + kern_pkgtup =misc.get_running_kernel_pkgtup(self.rpmdb.readOnlyTS())
> self.rpmdb.ts = None
>
> # do the skip broken magic, if enabled and problems exist
ACK.
-sv
More information about the Yum-devel
mailing list