Debian - how to keep a mixed system


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

Thanks for reading this post!

Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!