summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/APT.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client/Tools/APT.py')
-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 871cc7830..6106b4085 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -98,7 +98,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 remove -y --force-yes %s" % pkgnames)[0] == 0:
+ if self.cmd.run("apt-get purge -y --force-yes %s" % pkgnames)[0] == 0:
self.modified += packages
self.RefreshPackages()
self.extra = self.FindExtraPackages()