Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

Bonjour à tous.

Je rencontre désormais un soucis avec mon serveur Debian. Lorsque je fais un apt-get update il est extrêmement lent (plus d’une heure) et je reçois à la fin des centaines de fois la ligne “Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8”

La commande apt-get me donne ceci:
sudo apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Get:2 http://ftp.debian.org/debian stretch-backports InRelease [91,8 kB]
Ign:3 http://ftp.fr.debian.org/debian stretch InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Fetched 91,8 kB in 0s (254 kB/s)
Reading package lists… 32%

Qu’y puis-je, que fais-je svp?

Que dit locale -a ?
Chez moi, ça ressemble à ça:

mj@mercure:~$ sudo locale -a
C
C.UTF-8
fr_FR.utf8
POSIX

Si ce que ça t’annonce te parait incohérent (pas de fr_FR.utf8 par exemple) ça peut valoir le coup de reconfigurer avec sudo dpkg-reconfigure locales

Ensuite, au niveau de tes sources, il faudrait connaitre le contenu de ton fichier /etc/apt/sources.list et des fichiers contenus dans /etc/apt/sources.list.d
Mais c’est peut être tes choix de dépots qui pêchent, avec un depot ftp.debian.org un peu saturé, par exemple.
Regardes ici sur quels dépots tu pourrais installer deb.debian.org qui fait une redirection auto vers le serveur le plus proche de chez toi.

Dernière chose: que donnent apt update et aptitude update, comme alternative ?

Merci Mattotop.

locale -a
me donne pareil:

C
C.UTF-8
fr_FR.utf8
POSIX

nano /etc/apt/sources.list me donne
deb http://ftp.fr.debian.org/debian/ stretch main
deb http://security.debian.org/ stretch/updates main
deb http://ftp.debian.org/debian stretch-backports main

et nano /etc/apt/ sources.list.d
ne renvoi rien (fichier vide)

J’ai updaté ma soources.list en pointant sur le serveur ftp belge mais çà ne change rien.

apt update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.be.debian.org/debian stretch InRelease
Hit:3 http://ftp.be.debian.org/debian stretch-backports InRelease
Hit:4 http://ftp.be.debian.org/debian stretch Release
Reading package lists… 4% (et reparti tout en lenteur…)

apt update
aussi lent

et aptitude ne semble pas installé mais si je lance apt-get install aptitude il met des heures en “reading package list”

C’est un répertoire, pas un fichier.
Il peut contenir des fichiers.list avec des dépots complémentaires.
Personnellement, mon sources.list est vide, et j’ai chaque dépot dans un fichier séparé, comme ça, quand je ne veut plus d’un dépot, je le renomme en .list.disabled, et il n’est plus utilisé.

Bref, tu ne dois rien avoir dans ce répertoire a priori.

Piste:
essayes ça pour voir:
sudo apt-get -o Acquire::ForceIPv4=true update

Ce n’est pas ce que je t’ai conseillé.
Laisse debian choisir lui même le serveur le plus adapté pour toi en utilisant deb.debian.org
regarde le site http://deb.debian.org/

Ok j’ai modifié la source en deb.debian.org

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

et çà me donne ceci :
sudo apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Ign:2 http://deb.debian.org stretch/updates InRelease
Get:3 http://deb.debian.org/debian stretch-backports InRelease [91,8 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Ign:5 http://deb.debian.org stretch/updates Release
Get:6 http://deb.debian.org/debian stretch Release.gpg [2 434 B]
Get:7 http://deb.debian.org/debian stretch-backports/main amd64 Packages [573 kB]
Get:8 http://deb.debian.org/debian stretch-backports/main Translation-en [447 kB]
Ign:9 http://deb.debian.org stretch/updates/main all Packages
Ign:10 http://deb.debian.org stretch/updates/main amd64 Packages
Ign:11 http://deb.debian.org stretch/updates/main Translation-fr
Ign:12 http://deb.debian.org stretch/updates/main Translation-fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8
Ign:13 http://deb.debian.org stretch/updates/main Translation-en
Ign:14 http://deb.debian.org stretch/updates/main Translation-fr_FR
Ign:9 http://deb.debian.org stretch/updates/main all Packages
Get:15 http://deb.debian.org/debian stretch/main amd64 Packages [7 084 kB]
Get:16 http://deb.debian.org/debian stretch/main Translation-fr [1 894 kB]
Get:17 http://deb.debian.org/debian stretch/main Translation-en [5 384 kB]
Ign:10 http://deb.debian.org stretch/updates/main amd64 Packages
Ign:11 http://deb.debian.org stretch/updates/main Translation-fr
Ign:12 http://deb.debian.org stretch/updates/main Translation-fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8
Ign:13 http://deb.debian.org stretch/updates/main Translation-en
Ign:14 http://deb.debian.org stretch/updates/main Translation-fr_FR
Ign:9 http://deb.debian.org stretch/updates/main all Packages
Ign:10 http://deb.debian.org stretch/updates/main amd64 Packages
Ign:11 http://deb.debian.org stretch/updates/main Translation-fr
Ign:12 http://deb.debian.org stretch/updates/main Translation-fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8
Ign:13 http://deb.debian.org stretch/updates/main Translation-en
Ign:14 http://deb.debian.org stretch/updates/main Translation-fr_FR
Ign:9 http://deb.debian.org stretch/updates/main all Packages
Ign:10 http://deb.debian.org stretch/updates/main amd64 Packages
Ign:11 http://deb.debian.org stretch/updates/main Translation-fr
Ign:12 http://deb.debian.org stretch/updates/main Translation-fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8
Ign:13 http://deb.debian.org stretch/updates/main Translation-en
Ign:14 http://deb.debian.org stretch/updates/main Translation-fr_FR
Ign:9 http://deb.debian.org stretch/updates/main all Packages
Ign:10 http://deb.debian.org stretch/updates/main amd64 Packages
Ign:11 http://deb.debian.org stretch/updates/main Translation-fr
Ign:12 http://deb.debian.org stretch/updates/main Translation-fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8
Ign:13 http://deb.debian.org stretch/updates/main Translation-en
Ign:14 http://deb.debian.org stretch/updates/main Translation-fr_FR
Ign:9 http://deb.debian.org stretch/updates/main all Packages
Err:10 http://deb.debian.org stretch/updates/main amd64 Packages
404 Not Found [IP: 151.101.120.204 80]
Ign:11 http://deb.debian.org stretch/updates/main Translation-fr
Ign:12 http://deb.debian.org stretch/updates/main Translation-fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8
Ign:13 http://deb.debian.org stretch/updates/main Translation-en
Ign:14 http://deb.debian.org stretch/updates/main Translation-fr_FR
Fetched 15,6 MB in 7s (2 124 kB/s)

(toujours très très lent par contre, il est à 14% en 3 minutes)

C’est pour ça que je t’ai dit de LIRE le site: ça ne concerne que le depot de base et securité, et la forme du dépot sécurité change.

Non ?
Tu n’as pas lu ça non plus ?

Désolé la commande je ne l’avais pas vue passé. Oui le dossier sources.list.D est bien vide

Par contre désolé mais je ne comprends par rapport au site “C’est pour ça que je t’ai dit de LIRE le site: ça ne concerne que le depot de base et securité, et la forme du dépot sécurité change.” ma sources.list actuelle est ainsi, ce n’est pas bon?

# Debian Stretch, dépôt principal
deb http://deb.debian.org/debian/ stretch main
# Debian Stretch, mises à jour de sécurité
deb http://security.debian.org/ stretch/updates main
# Debian Stretch, mises à jour "volatiles"
deb http://deb.debian.org/debian/ stretch-updates main
deb https://deb.debian.org/debian/ stretch-backports main

et la commande sudo apt-get -o Acquire::ForceIPv4=true update
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release

Reading package lists… 4% (lent)

J’attends le résultat mais vu la vitesse je pense que ce sera pour demain matin.

Merci pour cette aide, je râme complet.

Pas de changement, toujours à la fin des milliers de lignes ainsi:

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

W: Ignoring translated description fr LC_ALL=fr_FR.UTF-8 LANG=fr_FR.UTF-8

Problème résolu:

J’ai remarqué dans le dossier apt/lists/ des security en .eng
je les ai sauvegardés puis effacé du serveur.

cd /var/lib/apt/lists/
rm -Rf security.debian.org_*

Desormais apt-get update @@ apt-get upgrade se font à 12M/s et plus aucun message d’erreur.

Comme quoi un bonne nuit de sommeil…

Un grand merci!

2 J'aime