Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devbot/distro.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/devbot/distro.py b/devbot/distro.py
index 65faee7..e20cb3e 100644
--- a/devbot/distro.py
+++ b/devbot/distro.py
@@ -90,7 +90,8 @@ class UbuntuPackageManager:
raise NotImplementedError
def update(self):
- pass
+ command.run_with_sudo(["apt-get", "update"], test=self._test)
+ command.run_with_sudo(["apt-get", "upgrade"], test=self._test)
def find_with_deps(self, package_names):
raise NotImplementedError