From f55672fedc4b898f92dd0075b140cc72492a7d53 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 31 Jan 2007 22:48:05 +0000 Subject: fix the yum driver (round 3) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2746 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Client/Tools/Yum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Client/Tools/Yum.py b/src/lib/Client/Tools/Yum.py index 916848c54..8d3b0da6b 100644 --- a/src/lib/Client/Tools/Yum.py +++ b/src/lib/Client/Tools/Yum.py @@ -20,7 +20,7 @@ class Yum(Bcfg2.Client.Tools.RPM.RPM): pkgnames = [pkg.get('name') for pkg in packages] if len(pkgnames) > 0: self.logger.info("Removing packages: %s" % pkgnames) - if self.cmd.run("yum remove %s" % " ".join(pkgnames))[0] == 0: + if self.cmd.run("yum -d0 -y remove %s" % " ".join(pkgnames))[0] == 0: self.modified += packages self.RefreshPackages() self.extra = self.FindExtraPackages() -- cgit v1.2.3-1-g7c22