Last active
February 26, 2017 16:24
-
-
Save swyngaard/d59be2f1bc41cbb7f412d621f8aeca07 to your computer and use it in GitHub Desktop.
Setup Debian Testing release with fallback to Unstable release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install apt-transport-https: | |
$ sudo aptitude install apt-transport-https | |
Change your /etc/apt/sources.list to be the following in order to enable testing/unstable distro: | |
deb https://mirrors.kernel.org/debian/ testing main contrib non-free | |
deb-src https://mirrors.kernel.org/debian/ testing main contrib non-free | |
deb https://mirrors.kernel.org/debian/ unstable main contrib non-free | |
deb-src https://mirrors.kernel.org/debian/ unstable main contrib non-free | |
deb http://security.debian.org/ testing/updates main contrib non-free | |
deb-src http://security.debian.org/ testing/updates main contrib non-free | |
Then make sure to set testing as the default preference for packages. Create the file /etc/apt/apt.conf.d/local.conf and add the following line: | |
APT::Default-Release "testing"; | |
Then update and upgrade: | |
$ sudo aptitude update | |
$ sudo aptitude full-upgrade | |
Check if a package has an unstable version available: | |
$ aptitude versions package_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APT::Default-Release "testing"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb https://mirrors.kernel.org/debian/ testing main contrib non-free | |
deb-src https://mirrors.kernel.org/debian/ testing main contrib non-free | |
deb https://mirrors.kernel.org/debian/ unstable main contrib non-free | |
deb-src https://mirrors.kernel.org/debian/ unstable main contrib non-free | |
deb http://security.debian.org/ testing/updates main contrib non-free | |
deb-src http://security.debian.org/ testing/updates main contrib non-free |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment