From b7dd116a244f88c06f8cf03a9868e6c165b477b2 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 15 Jan 2019 12:23:47 -0500 Subject: [PATCH] Add docs on how to setup multiple apt repos/trees --- advanced/debian_multi_repo.md | 113 ++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 advanced/debian_multi_repo.md diff --git a/advanced/debian_multi_repo.md b/advanced/debian_multi_repo.md new file mode 100644 index 0000000..5d0d28d --- /dev/null +++ b/advanced/debian_multi_repo.md @@ -0,0 +1,113 @@ +# Debian Multi Repo + +This setup is meant for those who need packages from non-stable Debian repositories. This should only be done as a **last resort**. + +We've included these documents for our more advanced users, integrators and others who are working on more experimental and advanced Lollipop Cloud deployments. + +If you weren't linked here via other documentation or aren't sure if you need this. You don't. + +## Inspiration / Further Reading + +- [https://serverfault.com/questions/22414/how-can-i-run-debian-stable-but-install-some-packages-from-testing](https://serverfault.com/questions/22414/how-can-i-run-debian-stable-but-install-some-packages-from-testing) + +# Setup Apt preferences + +For stable, testing, unstable, experiemental with weights that prioritize more stable apt repos. + +``` bash + +cat > /etc/apt/preferences.d/stable.pref < /etc/apt/preferences.d/testing.pref < /etc/apt/preferences.d/unstable.pref < /etc/apt/preferences.d/experimental.pref < /etc/apt/sources.list.d/stretch.list < /etc/apt/sources.list.d/testing.list < /etc/apt/sources.list.d/unstable.list < /etc/apt/sources.list.d/experimental.list < /etc/apt/apt.conf.d/99defaultrelease <