From 395cb93290dc47e9a899e3d936cb94ad80d6953d Mon Sep 17 00:00:00 2001 From: owah <4345945+owah@users.noreply.github.com> Date: Wed, 28 Nov 2018 12:43:12 +0100 Subject: [PATCH] Adds the universe repository to the used sources This change is required, to support Ubuntu Server 18.04.01, which by default doesn't ship with universe. Universe contains python3-venv which is needed for tljh --- bootstrap/bootstrap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py index 3a42fb2..bf65a27 100644 --- a/bootstrap/bootstrap.py +++ b/bootstrap/bootstrap.py @@ -66,6 +66,7 @@ def main(): else: logger.info('Setting up hub environment') initial_setup = True + subprocess.check_output(['add-apt-repository', 'universe'], stderr=subprocess.STDOUT) subprocess.check_output(['apt-get', 'update', '--yes'], stderr=subprocess.STDOUT) subprocess.check_output(['apt-get', 'install', '--yes', 'python3', 'python3-venv', 'git'], stderr=subprocess.STDOUT) logger.info('Installed python & virtual environment')