{{tag>Brouillon Debian source.list}} = Debian dépôts exemple de source.list exemple : ''/etc/apt/sources.list'' deb [arch=amd64] https://download.docker.com/linux/debian stretch stable deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main deb http://ftp.fr.debian.org/debian wheezy main contrib non-free deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://security.debian.org/ wheezy/updates main contrib non-free deb http://ftp.u-picardie.fr/mirror/debian/ wheezy main non-free contrib deb-src http://ftp.u-picardie.fr/mirror/debian/ wheezy main non-free contrib #Third Parties Repos #Debian Multimedia #deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ wheezy main #deb-multimedia.org deb http://www.deb-multimedia.org wheezy main non-free #Imprimante deb http://www.bchemnet.com/suldr/ debian extra #jeux deb http://boisson.homeip.net/debian lenny lineo #TOR deb http://deb.torproject.org/torproject.org wheezy main #E18 #deb http://packages.enlightenment.org/debian wheezy main extras # TESTING deb http://ftp.fr.debian.org/debian testing main contrib non-free deb http://ftp.debian.org/debian/ testing-updates main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free deb-src http://security.debian.org/ testing/updates main contrib non-free deb http://ftp.u-picardie.fr/mirror/debian/ testing main non-free contrib deb-src http://ftp.u-picardie.fr/mirror/debian/ testing main non-free contrib #Third Parties Repos #Debian Multimedia #deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ testing main #deb-multimedia.org deb http://www.deb-multimedia.org testing main non-free #Imprimante deb http://www.bchemnet.com/suldr/ debian extra #jeux deb http://boisson.homeip.net/debian lenny lineo #TOR deb http://deb.torproject.org/torproject.org testing main #E18 #deb http://packages.enlightenment.org/debian testing main extras # unstable deb http://ftp.fr.debian.org/debian unstable main contrib non-free deb http://ftp.debian.org/debian/ unstable-updates main contrib non-free deb http://security.debian.org/ unstable/updates main contrib non-free deb-src http://security.debian.org/ unstable/updates main contrib non-free deb http://ftp.u-picardie.fr/mirror/debian/ unstable main non-free contrib deb-src http://ftp.u-picardie.fr/mirror/debian/ unstable main non-free contrib #Third Parties Repos #Debian Multimedia #deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ unstable main #deb-multimedia.org deb http://www.deb-multimedia.org unstable main non-free #Imprimante deb http://www.bchemnet.com/suldr/ debian extra #jeux deb http://boisson.homeip.net/debian lenny lineo #TOR deb http://deb.torproject.org/torproject.org unstable main #E18 #deb http://packages.enlightenment.org/debian unstable main extras == Pinning-Debian création de /etc/apt/preferences.d/00source touch /etc/apt/preferences.d/00source modification du fichier nano /etc/apt/preferences.d/00source ###/etc/apt/preferences.d/00sources### Package: iceweasel Pin: release a=unstable Pin-Priority: 900 Package: * Pin: release a=testing Pin-Priority: 900 Package: * Pin: release a=stable Pin-Priority: 100 Package: * Pin: release a=unstable Pin-Priority: 10 Package: * Pin: release a=experimental Pin-Priority: 10 ###Path : /etc/apt/sources.list### #non-free pour ajouter les dépôts des sources non libres ## Debian experimental - dépôts officiels deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free ## Debian unstable - dépôts officiels (sécurité au fil de l'eau par les devs) deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free ## Debian testing - dépôts officiels deb http://ftp.fr.debian.org/debian/ testing main contrib non-free deb http://ftp.fr.debian.org/debian/ testing-updates main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free ## Debian stable - dépôts officiels deb http://ftp.fr.debian.org/debian/ stable main contrib non-free deb http://ftp.fr.debian.org/debian/ stable-updates main contrib non-free deb http://security.debian.org/ stable/updates main contrib non-free == Dépôt depuis une copie du DVD Voir : https://www.unixmen.com/setup-local-apt-repository-using-installation-media-in-debian-8/ find /media/cdrom/pool/ -name "*.deb" -exec cp {} /var/www/html/packages/amd64 \; cd /var/www/html/packages/amd64/ #dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz dpkg-scanpackages . /dev/null | pigz -9c > Packages.gz Local ''/etc/apt/sources.list'' deb file:/var/www/html/packages/amd64/ / Sur un serveur web deb http://192.168.21.4/debian93 / === Autres ''update-repo.sh'' #!/bin/bash #dpkg-scanpackages -m . | gzip -f9 > Packages.gz dpkg-scanpackages -m . | pigz -f9 > Packages.gz