date: 2008-06-05 18:29:42+00:00

'Debian : how to keep a mixed system'

categories: - Debian/Ubuntu - Linux

Create or edit /etc/apt/apt.conf with this content :

APT::Default-Release "stable";

Edit your APT source list /etc/apt/sources.list as the following (adapt to your favorite mirrors) :

<code># unstable
deb unstable main
deb-src unstable main

# stable
deb etch main
deb-src etch main

# security updates
deb etch/updates main contrib
deb-src etch/updates main contrib</code>

Now whenever you want to install a package in "unstable" on your "stable" system do the following :

aptitude -t unstable install packagename