mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
Clean up remaining references to packagekit
This commit is contained in:
parent
ae0bd62b1e
commit
a1a8e17497
@ -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:
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user