Linux/Ubuntu Debian

debian - enabling testing, unstable repo

smores 2016. 11. 24. 04:20

http://www.binarytides.com/enable-testing-repo-debian/



1. Setup the apt sources for testing/unstable repo

The first step is to add the testing/unstable sources to your sources.list file. The /etc/apt/sources.list file on a Debian wheezy system looks something like this by default.


$ cat /etc/apt/sources.list

...

deb http://security.debian.org/ wheezy/updates main

deb http://http.us.debian.org/debian/ wheezy main

deb-src http://security.debian.org/ wheezy/updates main

...

Note down the url of the repository server - http://http.us.debian.org/debian/

This repository server is a mirror that is located nearest to you. It shall be different in your sources.list file. The same shall be used in the next steps


To add the testing and unstable sources you need to add something like this to your sources.list file


# Testing repository - main, contrib and non-free branches

deb http://http.us.debian.org/debian testing main non-free contrib

deb-src http://http.us.debian.org/debian testing main non-free contrib



# Testing security updates repository

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

deb-src http://security.debian.org/ testing/updates main contrib non-free



# Unstable repo main, contrib and non-free branches, no security updates here

deb http://http.us.debian.org/debian unstable main non-free contrib

deb-src http://http.us.debian.org/debian unstable main non-free contrib