Debian and Ubuntu Sources

First Things First

Note:
  • We use vi for editing, supplement it with your favorite editor (nano, emacs, ed, etc).
  • These are for the stable and up versions of Debian and Ubuntu 12.04 LTS and above  only.

We first need to create a backup of our existing sources file, you just never know right?

  • Open a terminal
  • Backup your original sources file:
mv /etc/apt/sources.list /etc/apt/sources.list.orig
  • Create a new sources file:
vi /etc/apt/sources.list
  • Paste in the right Source entries from below

Debian Sources

Stable (wheezy)

deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free

##### SOURCE
deb-src http://ftp.us.debian.org/debian stable main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

Testing (jessie)

deb http://ftp.us.debian.org/debian testing main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free

##### SOURCE
deb-src http://ftp.us.debian.org/debian testing main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

Unstable (Sid)

deb http://ftp.us.debian.org/debian unstable main contrib non-free
deb http://ftp.debian.org/debian/ Sid-updates main contrib non-free
deb http://security.debian.org/ Sid/updates main contrib non-free

##### SOURCE
deb-src http://ftp.us.debian.org/debian unstable main contrib non-free
deb-src http://ftp.debian.org/debian/ Sid-updates main contrib non-free
deb-src http://security.debian.org/ Sid/updates main contrib non-free

Experimental

>deb http://ftp.us.debian.org/debian experimental main contrib non-free
deb http://ftp.debian.org/debian/ -updates main contrib non-free
deb http://security.debian.org/ /updates main contrib non-free

##### SOURCE
deb-src http://ftp.us.debian.org/debian experimental main contrib non-free
deb-src http://ftp.debian.org/debian/ -updates main contrib non-free
deb-src http://security.debian.org/ /updates main contrib non-free

Ubuntu Sources

Ubuntu 12.04.* LTS (Precise Pangolin)

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#

###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

Ubuntu 14.04.* LTS (Trusty Tahr)

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#

###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu trusty main

Ubuntu 14.10 (Utopic Unicorn)

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#

###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ utopic-security main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ utopic-proposed main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ utopic-backports main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-security main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-proposed main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-backports main restricted universe multiverse 

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu utopic partner
deb-src http://archive.canonical.com/ubuntu utopic partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu utopic main
deb-src http://extras.ubuntu.com/ubuntu utopic main

Ubuntu 15.04 (Vivid Vervet)

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#

###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ vivid main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ vivid-proposed main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-proposed main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse
Advertisements

5 thoughts on “Debian and Ubuntu Sources”

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s