Debian - how to keep a mixed system

categories:

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 http://ftp.debian.skynet.be/ftp/debian/ unstable main
deb-src http://ftp.debian.skynet.be/ftp/debian/ unstable main

# stable
deb http://ftp.debian.skynet.be/ftp/debian/ etch main
deb-src http://ftp.debian.skynet.be/ftp/debian/ etch main

# security updates
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ 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!