[PLUG] Using Debian testing packages in stable

Paul Heinlein heinlein at madboa.com
Tue Jun 15 17:13:05 UTC 2010


I'd like to selectively upgrade some packages in Debian lenny (stable) 
to the versions currently in the testing release.

Here's what I've done:

   1. Made sure sources.list has deb and deb-src entries for both
      lenny and testing.

   2. Added 'APT::Default-Release "5.0*";' to /etc/apt/apt.conf.

Now I want to do "aptitude -t testing install pkg1 pkg2 pkgN".

Is that the best practice for such things? I've read a bit about doing 
pinning in /etc/apt/preferences, but that didn't seem to provide the 
right package set when I ran apt-get in test (-s) mode.

-- 
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/



More information about the PLUG mailing list