Le sources.list qu'il me faut..?

Bonjour à tous,

Noob de mon état en ce qui concerne Linux, je fais ce que je peux pour comprendre et en l’occurrence aujourd’hui, je veux configurer mon sources.list pour qu’il soit en testing.
Et j’ai plusieurs questions “bêtes” qui m’aideront à comprendre le pourquoi du comment :

  • Quel est l’intérêt d’ajouter les sources avec deb-src ?
  • Quel serveur choisir ?
  • Voici mon sources.list actuel qui me renvoie quelques erreurs, très probablement car mal configuré; mais j’attends les remarques pour l’améliorer. Mon but est d’avoir un sources.list le plus fonctionnel possible, qui me permet d’avoir une testing avec les paquets stable quand il faut. Je n’ai encore rien ajouté de multimédia puisqu’il semblerait qu’il faille gérer les préférences pour que ça ne pose pas de soucis (je suis preneur d’explications là dessus aussi à vrai dire).

[quote]## Debian testing - dépôts officiels

deb ftp.fr.debian.org/debian/ testing main contrib non-free
deb-src ftp.fr.debian.org/debian/ testing main contrib non-free
deb ftp.fr.debian.org/debian/ testing-updates main contrib non-free
deb-src ftp.fr.debian.org/debian/ testing updates main contrib non-free

deb ftp.fr.debian.org/debian/ testing-proposed-updates main contrib non-free
deb-src ftp.fr.debian.org/debian testing-proposed-updates main contrib non-free

deb security.debian.org/ testing/updates main contrib non-free
deb-src security.debian.org/ testing/updates main contrib non-free

Debian stable - dépôts officiels

deb ftp.fr.debian.org/debian/ stable main contrib non-free
deb-src ftp.fr.debian.org/debian/ stable main contrib non-free
deb ftp.fr.debian.org/debian/ stable-updates main contrib non-free
deb-src ftp.fr.debian.org/debian/ stable-updates main contrib non-free

deb security.debian.org/ stable/updates main contrib non-free
deb-src seciruty.debian.org/ stable/updates main contrib non-free

deb http.us.debian.org/debian/ wheezy contrib non-free main[/quote]

D’avance, mille mercis !

Bonjour,

Un peu de lecture : https://www.isalo.org/wiki.debian-fr/Sources_de_paquets_:_les_bases

C’est utile si tu veux compiler toi même. Sinon tu peux les enlever.

Le plus proche de chez toi. (remplacer http.us.debian.org/debian/ par fr)

Les erreurs en question aurait été utile ! A vu d’oeil, je vois un espace au lieu d’un - dans la 4ème source “testing-updates”.

Je ne suis pas sûr que testing-proposed-updates soit pertinent.

Pourquoi choisir testing ? (un choix qui ouvre à débat)

  • L’intérêt de compiler moi-même est une meilleure intégration ?

  • ok, merci.

  • voici, ce qui m’est retourné après un apt-get update :

[code]Atteint http://ftp.fr.debian.org testing Release.gpg
Err http://seciruty.debian.org stable/updates Release.gpg
Ne parvient pas à résoudre « seciruty.debian.org »
Atteint http://security.debian.org testing/updates Release.gpg
Atteint http://security.debian.org stable/updates Release.gpg
Ign http://ftp.fr.debian.org testing-updates Release.gpg
Atteint http://security.debian.org testing/updates Release
Atteint http://security.debian.org stable/updates Release
Atteint http://ftp.fr.debian.org testing-proposed-updates Release.gpg
Atteint http://security.debian.org testing/updates/main Sources
Atteint http://security.debian.org testing/updates/contrib Sources
Réception de : 1 http://http.us.debian.org wheezy Release.gpg [1672 B]
Atteint http://ftp.fr.debian.org stable Release.gpg
Atteint http://security.debian.org testing/updates/non-free Sources
Atteint http://security.debian.org testing/updates/main amd64 Packages
Atteint http://ftp.fr.debian.org stable-updates Release.gpg
Atteint http://security.debian.org testing/updates/contrib amd64 Packages
Atteint http://security.debian.org testing/updates/non-free amd64 Packages
Réception de : 2 http://http.us.debian.org wheezy Release [159 kB]
Atteint http://ftp.fr.debian.org testing Release
Atteint http://security.debian.org testing/updates/main i386 Packages
Réception de : 3 http://linux.dropbox.com wheezy Release.gpg [489 B]
Atteint http://security.debian.org testing/updates/contrib i386 Packages
Ign http://ftp.fr.debian.org testing-updates Release
Atteint http://security.debian.org testing/updates/non-free i386 Packages
Atteint http://security.debian.org testing/updates/contrib Translation-en
Atteint http://ftp.fr.debian.org testing-proposed-updates Release
Atteint http://security.debian.org testing/updates/main Translation-en
Atteint http://security.debian.org testing/updates/non-free Translation-en
Atteint http://ftp.fr.debian.org stable Release
Atteint http://security.debian.org stable/updates/main amd64 Packages
Réception de : 4 http://linux.dropbox.com wheezy Release [2601 B]
Atteint http://ftp.fr.debian.org stable-updates Release
Atteint http://security.debian.org stable/updates/contrib amd64 Packages
Atteint http://ftp.fr.debian.org testing/main Sources/DiffIndex
Atteint http://security.debian.org stable/updates/non-free amd64 Packages
Atteint http://security.debian.org stable/updates/main i386 Packages
Atteint http://security.debian.org stable/updates/contrib i386 Packages
Atteint http://security.debian.org stable/updates/non-free i386 Packages
Atteint http://security.debian.org stable/updates/contrib Translation-en
Atteint http://security.debian.org stable/updates/main Translation-en
Atteint http://security.debian.org stable/updates/non-free Translation-en
Atteint http://ftp.fr.debian.org testing/contrib Sources/DiffIndex
Atteint http://ftp.fr.debian.org testing/non-free Sources/DiffIndex
Réception de : 5 http://ftp.fr.debian.org testing/main amd64 Packages [5954 kB]
Réception de : 6 http://linux.dropbox.com wheezy/main amd64 Packages [1141 B]
Réception de : 7 http://http.us.debian.org wheezy/contrib amd64 Packages [42,0 kB]
Réception de : 8 http://linux.dropbox.com wheezy/main i386 Packages [1141 B]
Réception de : 9 http://http.us.debian.org wheezy/non-free amd64 Packages [80,7 kB]
Réception de : 10 http://http.us.debian.org wheezy/main amd64 Packages [5846 kB]
Ign http://linux.dropbox.com wheezy/main Translation-fr_BE
Ign http://linux.dropbox.com wheezy/main Translation-fr
Ign http://linux.dropbox.com wheezy/main Translation-en
Réception de : 11 http://ftp.fr.debian.org testing/contrib amd64 Packages [41,4 kB]
Réception de : 12 http://ftp.fr.debian.org testing/non-free amd64 Packages [82,0 kB]
Réception de : 13 http://ftp.fr.debian.org testing/main i386 Packages [5968 kB]
Réception de : 14 http://ftp.fr.debian.org testing/contrib i386 Packages [42,0 kB]
Réception de : 15 http://ftp.fr.debian.org testing/non-free i386 Packages [78,4 kB]
Réception de : 16 http://ftp.fr.debian.org testing/contrib Translation-en [36,1 kB]
Réception de : 17 http://ftp.fr.debian.org testing/main Translation-en [4042 kB]
Réception de : 18 http://ftp.fr.debian.org testing/non-free Translation-en [70,1 kB]
Atteint http://ftp.fr.debian.org testing-proposed-updates/main Sources
Atteint http://ftp.fr.debian.org testing-proposed-updates/contrib Sources
Atteint http://ftp.fr.debian.org testing-proposed-updates/non-free Sources
Atteint http://ftp.fr.debian.org testing-proposed-updates/main amd64 Packages
Atteint http://ftp.fr.debian.org testing-proposed-updates/contrib amd64 Packages
Atteint http://ftp.fr.debian.org testing-proposed-updates/non-free amd64 Packages
Atteint http://ftp.fr.debian.org testing-proposed-updates/main i386 Packages
Atteint http://ftp.fr.debian.org testing-proposed-updates/contrib i386 Packages
Atteint http://ftp.fr.debian.org testing-proposed-updates/non-free i386 Packages
Atteint http://ftp.fr.debian.org testing-proposed-updates/contrib Translation-en
Atteint http://ftp.fr.debian.org testing-proposed-updates/main Translation-en
Atteint http://ftp.fr.debian.org testing-proposed-updates/non-free Translation-en
Atteint http://ftp.fr.debian.org stable/main Sources
Atteint http://ftp.fr.debian.org stable/contrib Sources
Atteint http://ftp.fr.debian.org stable/non-free Sources
Atteint http://ftp.fr.debian.org stable/main amd64 Packages
Atteint http://ftp.fr.debian.org stable/contrib amd64 Packages
Atteint http://ftp.fr.debian.org stable/non-free amd64 Packages
Atteint http://ftp.fr.debian.org stable/main i386 Packages
Atteint http://ftp.fr.debian.org stable/contrib i386 Packages
Atteint http://ftp.fr.debian.org stable/non-free i386 Packages
Atteint http://ftp.fr.debian.org stable/contrib Translation-en
Atteint http://ftp.fr.debian.org stable/main Translation-fr
Atteint http://ftp.fr.debian.org stable/main Translation-en
Atteint http://ftp.fr.debian.org stable/non-free Translation-en
Atteint http://ftp.fr.debian.org stable-updates/main Sources
Atteint http://ftp.fr.debian.org stable-updates/contrib Sources
Atteint http://ftp.fr.debian.org stable-updates/non-free Sources
Atteint http://ftp.fr.debian.org stable-updates/main amd64 Packages
Atteint http://ftp.fr.debian.org stable-updates/contrib amd64 Packages
Atteint http://ftp.fr.debian.org stable-updates/non-free amd64 Packages
Atteint http://ftp.fr.debian.org stable-updates/main i386 Packages
Atteint http://ftp.fr.debian.org stable-updates/contrib i386 Packages
Atteint http://ftp.fr.debian.org stable-updates/non-free i386 Packages
Atteint http://ftp.fr.debian.org stable-updates/contrib Translation-en
Atteint http://ftp.fr.debian.org stable-updates/main Translation-en
Atteint http://ftp.fr.debian.org stable-updates/non-free Translation-en
Err http://ftp.fr.debian.org testing-updates/main Sources
404 Not Found [IP : 212.27.32.66 80]
Err http://ftp.fr.debian.org testing-updates/contrib Sources
404 Not Found [IP : 212.27.32.66 80]
Err http://ftp.fr.debian.org testing-updates/non-free Sources
404 Not Found [IP : 212.27.32.66 80]
Err http://ftp.fr.debian.org testing-updates/main amd64 Packages
404 Not Found [IP : 212.27.32.66 80]
Err http://ftp.fr.debian.org testing-updates/contrib amd64 Packages
404 Not Found [IP : 212.27.32.66 80]
Err http://ftp.fr.debian.org testing-updates/non-free amd64 Packages
404 Not Found [IP : 212.27.32.66 80]
Réception de : 19 http://http.us.debian.org wheezy/contrib i386 Packages [42,3 kB]
Err http://ftp.fr.debian.org testing-updates/main i386 Packages
404 Not Found [IP : 212.27.32.66 80]
Err http://ftp.fr.debian.org testing-updates/contrib i386 Packages
404 Not Found [IP : 212.27.32.66 80]
Réception de : 20 http://http.us.debian.org wheezy/non-free i386 Packages [77,5 kB]
Err http://ftp.fr.debian.org testing-updates/non-free i386 Packages
404 Not Found [IP : 212.27.32.66 80]
Ign http://ftp.fr.debian.org testing-updates/contrib Translation-fr_BE
Ign http://ftp.fr.debian.org testing-updates/contrib Translation-fr
Ign http://ftp.fr.debian.org testing-updates/contrib Translation-en
Ign http://ftp.fr.debian.org testing-updates/main Translation-fr_BE
Ign http://ftp.fr.debian.org testing-updates/main Translation-fr
Ign http://ftp.fr.debian.org testing-updates/main Translation-en
Ign http://ftp.fr.debian.org testing-updates/non-free Translation-fr_BE
Ign http://ftp.fr.debian.org testing-updates/non-free Translation-fr
Ign http://ftp.fr.debian.org testing-updates/non-free Translation-en
Réception de : 21 http://http.us.debian.org wheezy/main i386 Packages [5864 kB]
Réception de : 22 http://http.us.debian.org wheezy/contrib Translation-en [34,8 kB]
Réception de : 23 http://http.us.debian.org wheezy/main Translation-fr [751 kB]
Réception de : 24 http://http.us.debian.org wheezy/main Translation-en [3851 kB]
Réception de : 25 http://http.us.debian.org wheezy/non-free Translation-en [66,1 kB]
33,1 Mo réceptionnés en 38s (853 ko/s)
Lecture des listes de paquets… Fait
W: Impossible de récupérer http://seciruty.debian.org/dists/stable/updates/Release.gpg Ne parvient pas à résoudre « seciruty.debian.org »

W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/testing-updates/main/source/Sources 404 Not Found [IP : 212.27.32.66 80]

W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/testing-updates/contrib/source/Sources 404 Not Found [IP : 212.27.32.66 80]

W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/testing-updates/non-free/source/Sources 404 Not Found [IP : 212.27.32.66 80]

W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/testing-updates/main/binary-amd64/Packages 404 Not Found [IP : 212.27.32.66 80]

W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/testing-updates/contrib/binary-amd64/Packages 404 Not Found [IP : 212.27.32.66 80]

W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/testing-updates/non-free/binary-amd64/Packages 404 Not Found [IP : 212.27.32.66 80]

W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/testing-updates/main/binary-i386/Packages 404 Not Found [IP : 212.27.32.66 80]

W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/testing-updates/contrib/binary-i386/Packages 404 Not Found [IP : 212.27.32.66 80]

W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/testing-updates/non-free/binary-i386/Packages 404 Not Found [IP : 212.27.32.66 80]

W: Le téléchargement de quelques fichiers d’index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
[/code]

seciruty

Là c’est un faute de frappe.

Visiblement est inaccessible.

Re,

Tout est expliqué sur le wiki dont on t’a donné les coordonnées !
S’il y a quelque chose que tu ne comprends pas après l’avoir lu, n’hésite pas à poser une question par post, nous nous ferons un plaisir de te répondre :slightly_smiling:

Pour éviter d’avoir à chercher toi-même le dépôt le plus rapide pour toi, tu peux utiliser http.debian.net.
Par exemple :

De cette façon, APT sera automatiquement redirigé vers le dépôt le plus rapide pour toi à chaque utilisation.

http.debian.net/

[quote=“vv222”]Pour éviter d’avoir à chercher toi-même le dépôt le plus rapide pour toi, tu peux utiliser http.debian.net.
Par exemple :

deb http://http.debian.net/debian/ wheezy main

De cette façon, APT sera automatiquement redirigé vers le dépôt le plus rapide pour toi à chaque utilisation.

http.debian.net/[/quote]

Cette méthode ne fonctionne pas avec apt-p2p ni avec smxi et c’est bien dommage :mrgreen:

Pour connaitre les types officiels disponible, j’utilise l’url : ftp.fr.debian.org/debian/dists/ (ca ne concerne pas security).
Reste plus qu’a voir la doc pour faire le lien entre ces types (backport…) et leur signification.