diff options
Diffstat (limited to 'src/lib/Client/Tools/APT.py')
-rw-r--r-- | src/lib/Client/Tools/APT.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py index 513288b4d..6d8e38a7a 100644 --- a/src/lib/Client/Tools/APT.py +++ b/src/lib/Client/Tools/APT.py @@ -67,7 +67,7 @@ class APT(Bcfg2.Client.Tools.PkgTool): self.logger.info('Removing packages:') self.logger.info(packages) self.cmd.run("apt-get remove -y --force-yes %s" % \ - " ".join(packages)) + " ".join([pkg.get('name') for pkg in packages])) self.RefreshPackages() self.extra = self.FindExtraPackages() |