From a1a8e17497cd87a78cede60d5c7f797bdd3f69b5 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Wed, 31 Aug 2016 17:24:20 -0400 Subject: [PATCH] Clean up remaining references to packagekit --- .travis.yml | 2 +- plinth/package.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f9dcaa297..f20ec1921 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ env: # Debian packages required before_install: - sudo apt-get update -qq - - sudo apt-get -y install augeas-tools gir1.2-packagekitglib-1.0 python3-dev python3-gi + - sudo apt-get -y install augeas-tools python3-dev python3-gi # Command to install dependencies install: diff --git a/plinth/package.py b/plinth/package.py index 801e68029..8ae3c8499 100644 --- a/plinth/package.py +++ b/plinth/package.py @@ -34,7 +34,7 @@ class PackageException(Exception): """A package operation has failed.""" def __init__(self, error_string=None, error_details=None, *args, **kwargs): - """Store packagekit error string and details.""" + """Store apt-get error string and details.""" super(PackageException, self).__init__(*args, **kwargs) self.error_string = error_string @@ -70,7 +70,7 @@ class Transaction(object): self.stderr = None def install(self): - """Run a PackageKit transaction to install given packages. + """Run an apt-get transaction to install given packages. Plinth needs to be running as root when calling this. Currently, this is meant to be only during first time setup