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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: