Support for running apt as root.
This commit is contained in:
parent
9c74e770a6
commit
0b9077f964
5 changed files with 17 additions and 2 deletions
|
@ -103,6 +103,9 @@ class AptManager(object):
|
|||
def satisfy(self, deps: List[str]) -> None:
|
||||
run_apt(self.session, ["satisfy"] + deps)
|
||||
|
||||
def satisfy_command(self, deps: List[str]) -> str:
|
||||
return ["apt", "satisfy"] + deps
|
||||
|
||||
|
||||
class ContentsFileNotFound(Exception):
|
||||
"""The contents file was not found."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue