Squirreling

storing bits of the internet away for a rainy day

Install Debian testing packages

Posted by squirreling on June 11, 2008

http://forums.spry.com/showthread.php?t=620

The solution for keeping stable and installing the package is to modify apt-get configuration to setup what is called a mixed system:
-create or modify the /etc/apt/apt.conf file and make it contain the following line:

Code:
APT::Default-Release "stable";

-modify the /etc/apt/sources.list file: copy all the lines containing stable (or etch), insert them at the end of the file, and replace the stable in the lines you just added by testing. You must have all the original lines in the files plus all the lines where stable has been replaced by testing.
-run apt-get update to update the list of installable packages.
-if you want to install the package foo that is present in the testing sources, use the following command:

Code:
apt-get -t testing install foo

Be very careful about which packages you install from testing. By definition they are not as stable as the packages found in the stable distribution.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>