> Patch by Greg Bailey. The patch is tested. > --- > yuminstall.py | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/yuminstall.py b/yuminstall.py > index cb9ca28..67cffe7 100644 > --- a/yuminstall.py > +++ b/yuminstall.py > @@ -465,6 +465,10 @@ class YumSorter(yum.YumBase): > if self.tsInfo.exists(dep.pkgtup): > pkgs = self.tsInfo.getMembers(pkgtup=dep.pkgtup) > member = self.bestPackagesFromList(pkgs)[0] > + elif self.rpmdb.installed(name = dep.name, arch = dep.arch, > + epoch = dep.epoch, ver = dep.version, rel = dep.release): > + # If the dependency NAEVR matches what's already installed, skip it > + continue > else: > if dep.name != req[0]: > log.info("adding %s for %s, required by %s" %(dep.name, req[0], txmbr.name)) Patch is fine, though it would be nice to have a commit message that explains what's going on. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list