* Add Debian repositories files from old-stable to experimental.

* Use sources-list.d directory from git repository to provide the sources-list.d system directory.
This commit is contained in:
gardouille 2015-09-18 17:52:52 +02:00
parent 13d8dd821c
commit b5e6387ff6
8 changed files with 40 additions and 52 deletions

View File

@ -14,3 +14,5 @@
#### Changes
* Disable Openvpn service (System tools for shell).
* No longer install nfs-kernel-server and samba. It will need a manual install.
* Add Debian repositories files from old-stable to experimental.
* Use sources-list.d directory from git repository to provide the sources-list.d system directory.

View File

@ -7,6 +7,12 @@
## post_install_sid.sh
Script to complete the installation of Debian Sid on my laptop.
#### Apt configuration
##### sources-list files
* Use sources-list.d directory from git repository to provide the sources-list.d system directory.
* Add Wheezy (official + backports), Jessie (official + backports), Stretch (official), Sid (official + multimedia) and Experimental (official) repositories.
#### System tools for shell
##### Remove

View File

@ -38,7 +38,6 @@
## 2015-09-02
## - Add sudo pkg and add the standard user to the sudo group
## - New name for Debian multimedia keyring pkg: deb-multimedia-keyring
## - Create multiple sources.list files
## - Create multiple preferences files
## - Add iceowl-extension pkg, the new way to manage calendar (lightning) with Thunderbird/Icedove
## 2014-12-24 -
@ -531,58 +530,12 @@ APT::Cache-Limit 100000000;
APT::Default-Release "unstable";
EOF
## Sauvegarde du fichier sources.list
#mv /etc/apt/sources.list{,.backup}
test -f /etc/apt/sources.list && mv /etc/apt/sources.list /etc/apt/sources.list.backup
## New sources.list files
# Debian Sid
cat > /etc/apt/sources.list.d/sid.list << EOF
## Unstable : Official Repo
deb http://ftp.fr.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ sid main contrib non-free
## Unstable : Dépôts multimédia
deb http://www.deb-multimedia.org sid main non-free
deb-src http://www.deb-multimedia.org sid main non-free
EOF
# Debian Experimental
cat > /etc/apt/sources.list.d/experimental.list << EOF
## Experimental : Official Repo
deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ experimental main contrib non-free
EOF
# Debian Stretch
cat > /etc/apt/sources.list.d/stretch.list << EOF
## Stretch - Testing : Official Repo
deb http://ftp.fr.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stretch main contrib non-free
EOF
# Debian Jessie
cat > /etc/apt/sources.list.d/jessie.list << EOF
## Jessie - Stable : Official Repo
deb http://ftp.fr.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ jessie main contrib non-free
# Backports
deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-backports main contrib non-free
EOF
# Debian Wheezy
cat > /etc/apt/sources.list.d/wheezy.list << EOF
## Wheezy - Stable : Official Repo
deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
# Backports
deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
EOF
## Backup initial sources.list
test -f /etc/apt/sources.list && mv /etc/apt/sources.list /etc/apt/sources.list.bkp
rm -f /etc/apt/sources.list\~
## Copy all local sources.list files
cp -f ./sources-list.d/* /etc/apt/sources.list.d/
## Fichier de preferences
# Backup previous preferences file

View File

@ -0,0 +1,3 @@
## Experimental : Official Repo
deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ experimental main contrib non-free

View File

@ -0,0 +1,7 @@
## Jessie - Stable : Official Repo
deb http://ftp.fr.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ jessie main contrib non-free
# Backports
deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-backports main contrib non-free

7
sources-list.d/sid.list Normal file
View File

@ -0,0 +1,7 @@
## Unstable : Official Repo
deb http://ftp.fr.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ sid main contrib non-free
## Unstable : Dépôts multimédia
deb http://www.deb-multimedia.org sid main non-free
deb-src http://www.deb-multimedia.org sid main non-free

View File

@ -0,0 +1,3 @@
## Stretch - Testing : Official Repo
deb http://ftp.fr.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stretch main contrib non-free

View File

@ -0,0 +1,7 @@
## Wheezy - Stable : Official Repo
deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
# Backports
deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-backports main contrib non-free