summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-10-28 03:05:52 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-10-28 03:05:52 +0000
commit0da49314befd28017a1c0949af3b71eb0893b2c7 (patch)
tree5557498190747d7bb35cd6ae2418d881ca363856
parentabf79b249aab9e343f51dea9c9f6b2ec0676060b (diff)
downloadbcfg2-0da49314befd28017a1c0949af3b71eb0893b2c7.tar.gz
bcfg2-0da49314befd28017a1c0949af3b71eb0893b2c7.tar.bz2
bcfg2-0da49314befd28017a1c0949af3b71eb0893b2c7.zip
Fix apt purge calls (Fix PDS's issue reported on IRC)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4954 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Client/Tools/APT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index 275c0f3a1..d73ed06dc 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -105,7 +105,7 @@ class APT(Bcfg2.Client.Tools.PkgTool):
if len(packages) > 0:
self.logger.info('Removing packages:')
self.logger.info(pkgnames)
- if self.cmd.run("apt-get purge -y --force-yes %s" % pkgnames)[0] == 0:
+ if self.cmd.run("apt-get remove --purge -y --force-yes %s" % pkgnames)[0] == 0:
self.modified += packages
self.RefreshPackages()
self.extra = self.FindExtraPackages()