diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-01-31 22:48:05 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-01-31 22:48:05 +0000 |
commit | f55672fedc4b898f92dd0075b140cc72492a7d53 (patch) | |
tree | 26b636f7d71cdd50a40a06992f622a03af4c02c6 | |
parent | a38bcc066d359652fe55d3b92971e982c3ca4ec7 (diff) | |
download | bcfg2-f55672fedc4b898f92dd0075b140cc72492a7d53.tar.gz bcfg2-f55672fedc4b898f92dd0075b140cc72492a7d53.tar.bz2 bcfg2-f55672fedc4b898f92dd0075b140cc72492a7d53.zip |
fix the yum driver (round 3)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2746 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | src/lib/Client/Tools/Yum.py | 2 |
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() |