Enable Universe - Ubuntu 9.10 Karmic

by plumata
15 deployments · 4 still active · last rev. 6 years ago

Enable the universe and restricted repos in Ubuntu 9.10 (Karmic). The script performs an apt-get update but does NOT perform any upgrades

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

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

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted

## universe repositories
deb http://us.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic universe
deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates universe

deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
EOF

# Update
apt-get -y update