[PATCH 1/9] Fix yum repo-pkgs <blah> install exist-other-repo.

James Antill james at and.org
Wed Feb 12 23:27:07 UTC 2014


---
 yum/__init__.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/yum/__init__.py b/yum/__init__.py
index 0604d63..622bc14 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -4714,6 +4714,8 @@ much more problems).
                         arg)
 
                     mypkgs = self.returnPackagesByDep(arg)
+                    if repoid:
+                        mypkgs = misc.filter_pkgs_repoid(mypkgs, repoid)
                     if not misc.re_glob(arg):
                         mypkgs = self.bestPackagesFromList(mypkgs,
                                                            single_name=True,
-- 
1.7.7.6



More information about the Yum-devel mailing list