ci: ensure to --yes adding apt-get repository

This commit is contained in:
Erik Sundell
2021-10-20 10:24:47 +02:00
parent 26c34524b2
commit 3596039bbd

View File

@@ -325,7 +325,7 @@ def main():
apt_get_adjusted_env["DEBIAN_FRONTEND"] = "noninteractive" apt_get_adjusted_env["DEBIAN_FRONTEND"] = "noninteractive"
run_subprocess(['apt-get', 'update']) run_subprocess(['apt-get', 'update'])
run_subprocess(['apt-get', 'install', '--yes', 'software-properties-common'], env=apt_get_adjusted_env) run_subprocess(['apt-get', 'install', '--yes', 'software-properties-common'], env=apt_get_adjusted_env)
run_subprocess(['add-apt-repository', 'universe']) run_subprocess(['add-apt-repository', 'universe', '--yes'])
run_subprocess(['apt-get', 'update']) run_subprocess(['apt-get', 'update'])
run_subprocess(['apt-get', 'install', '--yes', 'python3', 'python3-venv', 'python3-pip', 'git'], env=apt_get_adjusted_env) run_subprocess(['apt-get', 'install', '--yes', 'python3', 'python3-venv', 'python3-pip', 'git'], env=apt_get_adjusted_env)