From 70f05e9d5283a3ef0f99ddb92005c36ba64acf49 Mon Sep 17 00:00:00 2001 From: Brendan Hide Date: Thu, 3 Oct 2019 20:10:14 +0200 Subject: [PATCH] Ensure the universe repository is enabled A minimal Ubuntu server installation might not have universe enabled by default. By adding it, we ensure we can install packages only available in universe, such as python3-pip Merges #1650. --- setup/system.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/system.sh b/setup/system.sh index ccc60231..df5f2856 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -86,6 +86,10 @@ if [ ! -f /usr/bin/add-apt-repository ]; then apt_install software-properties-common fi +# Ensure the universe repository is enabled since some of our packages +# come from there and minimal Ubuntu installs may have it turned off. +hide_output add-apt-repository -y universe + # Install the certbot PPA. hide_output add-apt-repository -y ppa:certbot/certbot