Apt needs superuser powers.
This commit is contained in:
parent
d57cfc2637
commit
d95257dd19
|
@ -570,7 +570,7 @@ class Build():
|
|||
print("Downloading missing dependencies, please wait.")
|
||||
|
||||
# Updating package cache
|
||||
subprocess.run(['apt', 'update'], check=True)
|
||||
subprocess.run(['sudo', 'apt', 'update'], check=True)
|
||||
|
||||
# We download the missing dependencies leveraging apt
|
||||
subprocess.run(shlex.split(
|
||||
|
|
Loading…
Reference in New Issue