Skip to content
Snippets Groups Projects
sources.list.erb 2.17 KiB
Newer Older
Adam Lewenberg's avatar
Adam Lewenberg committed
# The base APT sources configuration.  -*- apt-sources -*-
#
# This file should contain only the base distribution and base updates as
# distributed by Debian or Ubuntu.  All additional repositories, such as
# backports or Stanford-local repositories, should be put in
# /etc/apt/sources.list.d.

# The main Debian or Ubuntu archive and source tree.
<% if lsbdistcodename == 'lenny' -%>
deb     http://archive.debian.org/debian <%= lsbdistcodename %> main non-free contrib
deb-src http://archive.debian.org/debian <%= lsbdistcodename %> main non-free contrib
<% elsif operatingsystem == 'Ubuntu' -%>
deb      http://debian.stanford.edu/ubuntu <%= lsbdistcodename %> main multiverse restricted universe
deb-src  http://debian.stanford.edu/ubuntu <%= lsbdistcodename %> main multiverse restricted universe
deb      http://debian.stanford.edu/ubuntu <%= lsbdistcodename %>-security main multiverse restricted universe
deb-src  http://debian.stanford.edu/ubuntu <%= lsbdistcodename %>-security main multiverse restricted universe
deb      http://debian.stanford.edu/ubuntu <%= lsbdistcodename %>-updates main multiverse restricted universe
deb-src  http://debian.stanford.edu/ubuntu <%= lsbdistcodename %>-updates main multiverse restricted universe
<% else -%>
deb     http://debian.stanford.edu/debian <%= lsbdistcodename %> main non-free contrib
deb-src http://debian.stanford.edu/debian <%= lsbdistcodename %> main non-free contrib
<% end -%>
<% if (lsbdistcodename == 'squeeze') or (lsbdistcodename == 'wheezy') -%>
Adam Lewenberg's avatar
Adam Lewenberg committed

# The archive that publishes updates for security vulnerabilities.
deb     http://debian.stanford.edu/debian-security <%= lsbdistcodename %>/updates main non-free contrib
deb-src http://debian.stanford.edu/debian-security <%= lsbdistcodename %>/updates main non-free contrib

# The updates Debian archive and source tree.  This contains packages that
# change more frequently than stable point releases but are still
# carefully vetted.  (It's the staging area for the next stable point
# release.)
deb     http://debian.stanford.edu/debian <%= lsbdistcodename %>-updates main non-free contrib
deb-src http://debian.stanford.edu/debian <%= lsbdistcodename %>-updates main non-free contrib
Adam Lewenberg's avatar
Adam Lewenberg committed
<% end -%>