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
This commit is contained in:
owah
2018-11-28 12:43:12 +01:00
committed by yuvipanda
parent c0171dfdbc
commit 395cb93290

View File

@@ -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')