shell-things/etc/apt/sources.list
Aminda Suomalainen ff94369b6d sources.list/README: add missing rm 2015-07-12 11:52:28 +03:00
..
12.04 sources.list: add security.ubuntu.com & rm MATE 2015-02-27 10:10:58 +02:00
14.04 sources.list: add security.ubuntu.com & rm MATE 2015-02-27 10:10:58 +02:00
14.10 Ubuntu 14.10 sources.list: fix Ubuntu MATE PPA 2015-03-19 21:54:35 +02:00
15.04 sources.list/15.04: drop extras.ubuntu.com 2015-04-05 23:21:44 +03:00
15.10 sources.list: 15.10 2015-05-05 07:56:11 +03:00
README.md sources.list/README: add missing rm 2015-07-12 11:52:28 +03:00
install sources.list: fix install scripts 2015-07-12 11:39:41 +03:00
install.debian sources.list: fix install scripts 2015-07-12 11:39:41 +03:00
jessie http.debian.net --> httpredir.debian.org 2015-07-06 15:18:25 +03:00
sid sources.list: add sid so both scripts work 2015-07-12 11:03:51 +03:00
squeeze sources.list/squeeze: add squeeze-lts 2015-07-07 17:10:43 +03:00
stable sources.list: rename debian* to codenames 2015-07-12 10:51:19 +03:00
stretch sources.list: add forgotten stretch 2015-07-12 11:06:03 +03:00
testing sources.list: rename debian* to codenames 2015-07-12 10:51:19 +03:00
unstable sources.list: rename debian* to codenames 2015-07-12 10:51:19 +03:00
wheezy http.debian.net --> httpredir.debian.org 2015-07-06 15:18:25 +03:00

README.md

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.

Usage

  1. Become root with sudo su -
  2. Download the script either with either of the following):
    1. Ubuntu/Debian testing/unstable: curl -L http://git.io/vqhtJ > sources.list.install
    2. Debian: curl -L http://git.io/vqhtF > sources.list.install
  3. chmod +x sources.list.install
  4. ./sources.list.install
  5. optionally rm sources.list.install