mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-05 09:09:21 +01:00
Mikaela Suomalainen
e99cffb130
This shouldn't be used, but this is the only working way through "hash sum mismatch". |
||
---|---|---|
.. | ||
.devel.I.do.not.update.this | ||
12.04 | ||
14.04 | ||
15.10 | ||
16.04 | ||
16.04.archive.ubuntu.com | ||
install | ||
install.debian | ||
jessie | ||
README.md | ||
sid | ||
squeeze | ||
stable | ||
stretch | ||
testing | ||
unstable | ||
wheezy |
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 saystable
and when new Debian becomes stable apt wants to upgrade to it directly and that can be dangerous.
- If you run
install.debian
for not-rolling Debian.
Usage
- Become root with
sudo su -
- Download the script using appropiate distribution and curl
or wget depending on which you have installed:
- Ubuntu/Debian testing/unstable:
curl -L http://git.io/vqhtJ > sources.list.install
wget http://git.io/vqhtJ -O sources.list.install
- Debian
curl -L http://git.io/vqhtF > sources.list.install
wget http://git.io/vqhtF -O sources.list.install
- Ubuntu/Debian testing/unstable:
chmod +x sources.list.install
./sources.list.install
- optionally
rm sources.list.install