Clean up remaining references to packagekit

This commit is contained in:
James Valleroy 2016-08-31 17:24:20 -04:00 committed by Sunil Mohan Adapa
parent ae0bd62b1e
commit a1a8e17497
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ env:
# Debian packages required # Debian packages required
before_install: before_install:
- sudo apt-get update -qq - 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 # Command to install dependencies
install: install:

View File

@ -34,7 +34,7 @@ class PackageException(Exception):
"""A package operation has failed.""" """A package operation has failed."""
def __init__(self, error_string=None, error_details=None, *args, **kwargs): 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) super(PackageException, self).__init__(*args, **kwargs)
self.error_string = error_string self.error_string = error_string
@ -70,7 +70,7 @@ class Transaction(object):
self.stderr = None self.stderr = None
def install(self): 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. Plinth needs to be running as root when calling this.
Currently, this is meant to be only during first time setup Currently, this is meant to be only during first time setup