Register

Reply

Former Employee

Join Date: May 2006
Posts: 45
Quote  
10-20-2006, 09:23 AM
Default How to install testing packages on debian stable with apt-get

The version of Debian installed on Spry's VPSes is stable. This OS is great, but the stability policy of Debian makes that some newer packages are not available for stable, while they are for testing.
Upgrading the distribution to testing is not recommended and could break your VPS.

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, 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.
Reply With Quote
Pierre_@_Spry is offline
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 04:07 AM. Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 VBulletin Skin by ForumMonkeys.