[PATCH] Fix repo-pkgs check-update malfunction
Radek Holy
rholy at redhat.com
Tue Feb 25 09:03:13 UTC 2014
Hi, because nobody replied to my question on #yum few days ago, I debugged it myself. It seems this is enough:
yumcommands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/yumcommands.py b/yumcommands.py
index ef84c1f..74e4333 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -1617,7 +1617,7 @@ class CheckUpdateCommand(YumCommand):
"""
updateinfo.exclude_updates(base)
obscmds = ['obsoletes'] + extcmds
- base.extcmds.insert(0, 'updates')
+ extcmds.insert(0, 'updates')
result = 0
if True:
ypl = base.returnPkgLists(extcmds, repoid=repoid)
--
Radek Holý
Associate Software Engineer
Software Management Team
Red Hat Czech
More information about the Yum-devel
mailing list