> 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.

You might be better off using something like debian backports 
( http://www.backports.org/ ) for that.  When I do stuff like this, I
commonly just download and install the necessary .debs manually, but
they probably have swankier ways to handle dependencies.

HTH,
tim
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to