Apt needs superuser powers.

This commit is contained in:
emiliano.vavassori 2024-08-23 00:10:31 +02:00
parent d57cfc2637
commit d95257dd19
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ class Build():
print("Downloading missing dependencies, please wait.") print("Downloading missing dependencies, please wait.")
# Updating package cache # Updating package cache
subprocess.run(['apt', 'update'], check=True) subprocess.run(['sudo', 'apt', 'update'], check=True)
# We download the missing dependencies leveraging apt # We download the missing dependencies leveraging apt
subprocess.run(shlex.split( subprocess.run(shlex.split(