From 2fd3c3986b92b8ce8d8bf8a0fb45e43eab42a534 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 12 Jul 2015 11:21:38 +0300 Subject: [PATCH] sources.list: add README & touch scripts ref: #78 --- etc/apt/sources.list/README.md | 18 ++++++++++++++++++ etc/apt/sources.list/install | 0 etc/apt/sources.list/install.debian | 0 3 files changed, 18 insertions(+) create mode 100644 etc/apt/sources.list/README.md create mode 100644 etc/apt/sources.list/install create mode 100644 etc/apt/sources.list/install.debian diff --git a/etc/apt/sources.list/README.md b/etc/apt/sources.list/README.md new file mode 100644 index 00000000..bcb3dd4d --- /dev/null +++ b/etc/apt/sources.list/README.md @@ -0,0 +1,18 @@ +sources.list files for Ubuntu and Debian +======================================== + +The files have been named so they are easily to fetch with script, +`lsb_release -sr` returns release e.g. `14.04` or `testing` and +`lsb_release -rc` returns codename e.g. `jessie`. + +`mirrors.ubuntu.com/mirrors.txt` and `httpredir.debian.org` are used so +the files work everywhere and the nearest mirrors are always used no matter +where you are. + +Which script to use? + +* `install` for Ubuntu and Debian testing/unstable. + * If you run `ìnstall` on Debian Stable, sources.list will say + `stable` and when new Debian becomes stable apt wants to + upgrade to it directly and that can be dangerous. +* `install.debian` for not-rolling Debian. diff --git a/etc/apt/sources.list/install b/etc/apt/sources.list/install new file mode 100644 index 00000000..e69de29b diff --git a/etc/apt/sources.list/install.debian b/etc/apt/sources.list/install.debian new file mode 100644 index 00000000..e69de29b