summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Client/Tools/Yum.py2
1 files changed, 1 insertions, 1 deletions
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()