From 267e9d4de8b5330025aaad788d676a09e17f49f4 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Fri, 16 Nov 2012 14:25:53 +0000 Subject: Fix and enable package removal on ubuntu --- (limited to 'devbot') diff --git a/devbot/distro.py b/devbot/distro.py index 76a7518..1a37bd5 100644 --- a/devbot/distro.py +++ b/devbot/distro.py @@ -90,10 +90,10 @@ class UbuntuPackageManager: command.run_with_sudo(args, test=self._test) def remove_packages(self, packages): - args = ["dpkg", "-e"] + args = ["dpkg", "-P"] args.extend(packages) - command.run_with_sudo(args, test=True) + command.run_with_sudo(args, test=self._test) def update(self): command.run_with_sudo(["apt-get", "update"], test=self._test) -- cgit v0.9.1