#!/bin/bash # You can copy this to a http server, then curl url|sudo bash set -ex sed -ri '/^\s*deb\s+http/s/$/ universe/' /etc/apt/sources.list apt-get update apt-get install -y debconf debconf-set-selections <