Probleme de mis a jour debian 9.2.1

Bonsoir tt le monde, je suis nouveau.
Quand je tape: apt-get update j’obtiens ceci

Aidez-moi SVP

Bonjour,

peux-tu nous donner le contenu du fichier /etc/apt/sources.list ?

Fais-en un copier coller en mettant au-dessus une ligne avec 3 caractères ` (AltGr+7) et une ligne en-dessous avec aussi 3 `, pour le formatage.

Ok voici mon fichier sources.list,

# 

# deb cdrom:[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09]/ stretch contrib main

#deb cdrom:[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09]/ stretch contrib main

deb http://mirror.vorboss.net/debian/ stretch main
deb-src http://mirror.vorboss.net/debian/ stretch main

deb http://deb.debian.org/debian/ stretch/updates main
deb-src http://deb.debian.org/debian/ stretch/updates main

# stretch-updates, previously known as 'volatile'
deb http://mirror.vorboss.net/debian/ stretch-updates main
deb-src http://mirror.vorboss.net/debian/ stretch-updates main

merci

Bonjour

Effectivement, si j’utilise le même contenu de fichier /etc/apt/sources.list
que celui que tu as utilisé,
voilà ce que ça donne chez moi (depuis Paris)

root@aptvirt:~# apt update
Ign:1 http://mirror.vorboss.net/debian stretch InRelease
Ign:2 http://deb.debian.org/debian stretch/updates InRelease
Réception de:3 http://mirror.vorboss.net/debian stretch-updates InRelease [91,0 kB]
Réception de:4 http://mirror.vorboss.net/debian stretch Release [118 kB]                         
Réception de:5 http://mirror.vorboss.net/debian stretch Release.gpg [2 479 B]                    
Err:6 http://deb.debian.org/debian stretch/updates Release     
  404  Not Found
Réception de:7 http://mirror.vorboss.net/debian stretch-updates/main Sources [3 564 B]
Réception de:8 http://mirror.vorboss.net/debian stretch-updates/main amd64 Packages [5 976 B]
Réception de:9 http://mirror.vorboss.net/debian stretch-updates/main Translation-en [3 583 B]
Réception de:10 http://mirror.vorboss.net/debian stretch/main Sources [6 754 kB]
Réception de:11 http://mirror.vorboss.net/debian stretch/main amd64 Packages [7 097 kB]
Réception de:12 http://mirror.vorboss.net/debian stretch/main Translation-en [5 395 kB]
Réception de:13 http://mirror.vorboss.net/debian stretch/main Translation-fr [1 894 kB]
Lecture des listes de paquets... Fait                        
E: The repository 'http://deb.debian.org/debian stretch/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@aptvirt:~# 

Je te propose de mettre de côté le contenu actuel du fichier /etc/apt/sources.list en le renommant
en entrant la commande suivante (depuis le compte root)

mv /etc/apt/sources.list{,.sauvegardeHS}

pour ensuite créer un autre fichier /etc/apt/sources.list

Pour créer le nouveau fichier /etc/apt/sources.list
tu pourrais utiliser la commande suivante,
entrée depuis le compte root :

apt edit-sources

et copier/coller le contenu suivant
dans la fenêtre d’édition :

# deb cdrom:[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09]/ stretch contrib main

deb     http://ftp.fr.debian.org/debian/           stretch         main
deb-src http://ftp.fr.debian.org/debian/           stretch         main

deb     http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
deb     http://ftp.fr.debian.org/debian/           stretch-updates main
deb-src http://ftp.fr.debian.org/debian/           stretch-updates main

merci ça marche sauf pour cette ligne :
Ign:2 http://ftp.fr.debian.org/debian stretch InRelease

Ign c’est qu’il n’y a rien de nouveau a téléchargé, donc pas de souci.

N’oublie pas la coche verte pour signaler le fil en réglé :wink: