Debian Jessie repos
Jump to navigation
Jump to search
Here are the Debian Jessie repos which I use for many of my systems:
#------------------------------------------------------------------------------#
# Debian Jessie Repos
#------------------------------------------------------------------------------#
# these repos are pretty standard
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
deb-src http://httpredir.debian.org/debian/ jessie main contrib non-free
# jessie/updates, previously known as 'jessie'
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# jessie-updates, previously known as 'jessie'
deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
# backports for Debian 'stretch'
deb http://ftp.debian.org/debian jessie-backports main contrib non-free
deb-src http://ftp.debian.org/debian jessie-backports main contrib non-free
# dotdeb packages
deb http://packages.dotdeb.org jessie all
deb-src http://packages.dotdeb.org jessie all
I generally pull the dotdeb repository because it's kept up to date, but in many instances, backports works pretty well when I more up-to-date packages.
You'll need to add the GPG public key for dotdeb:
wget https://www.dotdeb.org/dotdeb.gpg
sudo apt-key add dotdeb.gpg
In this instance I've also included the non-free packages. You may remove the "non-free" revision if it doesn't suit your needs.
You can find out how to utilize backports, among other things through APT via the BASH cheatsheet wiki entry.
One-liner
For convenience:
echo "# standard repos" > /etc/apt/sources.list && echo "deb http://httpredir.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list && echo "deb-src http://httpredir.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list && echo "# jessie/updates" >> /etc/apt/sources.list && echo "deb http://security.debian.org/ jessie/updates main contrib non-free" >> /etc/apt/sources.list && echo "deb-src http://security.debian.org/ jessie/updates main contrib non-free" >> /etc/apt/sources.list && echo "# jessie-updates" >> /etc/apt/sources.list && echo "deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list && echo "deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list && echo "# backports for Debian stretch" >> /etc/apt/sources.list && echo "deb http://ftp.debian.org/debian jessie-backports main contrib non-free" >> /etc/apt/sources.list && echo "deb-src http://ftp.debian.org/debian jessie-backports main contrib non-free" >> /etc/apt/sources.list && echo "# dotdeb packages" >> /etc/apt/sources.list && echo "deb http://packages.dotdeb.org jessie all" >> /etc/apt/sources.list && echo "deb-src http://packages.dotdeb.org jessie all" >> /etc/apt/sources.list