Universe

by punchh
0 deployments · 0 still active · last rev. 5 years ago

Ubuntu Universe

Compatible with: No distros currently supported
						#!/bin/bash

export CODENAME=`lsb_release -sc`

# New sources.list
cat > /etc/apt/sources.list << EOF
deb http://us.archive.ubuntu.com/ubuntu/ $CODENAME main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ $CODENAME main restricted

deb http://us.archive.ubuntu.com/ubuntu/ $CODENAME-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ $CODENAME-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu/ $CODENAME universe
deb-src http://us.archive.ubuntu.com/ubuntu/ $CODENAME universe
deb http://us.archive.ubuntu.com/ubuntu/ $CODENAME-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ $CODENAME-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ $CODENAME multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ $CODENAME multiverse
deb http://us.archive.ubuntu.com/ubuntu/ $CODENAME-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ $CODENAME-updates multiverse

deb http://security.ubuntu.com/ubuntu $CODENAME-security main restricted
deb-src http://security.ubuntu.com/ubuntu $CODENAME-security main restricted
deb http://security.ubuntu.com/ubuntu $CODENAME-security universe
deb-src http://security.ubuntu.com/ubuntu $CODENAME-security universe
deb http://security.ubuntu.com/ubuntu $CODENAME-security multiverse
deb-src http://security.ubuntu.com/ubuntu $CODENAME-security multiverse

EOF
apt-get -y update