如何将debian“testing”版本库添加到apt-get中

我有困难search谷歌和Debian文档的这个答案!

常见问题页面也不是很清楚。 我的意思是它不是100%的白痴certificate清楚。
https://wiki.debian.org/DebianTesting

“testing”回购使用户可以使用新的更新软件包(例如, apt-getsynaptic ),否则这些Debian会在下一个Debian版本中发布。

警告:testing包可能不是最稳定的包,但比“不稳定”的回购更稳定。

  1. 以root身份login在您最喜爱的编辑器中打开文件/etc/apt/sources.list

    vi /etc/apt/sources.list

  2. 添加testing回购。 添加下面的行。

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

杂项注释:

请注意添加回购行的格式。

deb <link from where packages will be downloaded from> <repoName> <sub branches of the repo>

例子:

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

注意在上面的行“wheezy”回购是debian 7.0发行默认回购。 不稳定的回购可能有容易出错的软件包。