Bonjour,
Sur mon VPS (debian 6), la commande locale me renvoie des erreurs que j'aimerais résoudre
Et quand j'essaye de réparer :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 # locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=fr_FR.UTF-8 LANGUAGE= LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL=
Je tente de réinstaller le programme "locales" :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 # dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "fr_FR.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/sbin/dpkg-reconfigure: locales is broken or not fully installed
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 # apt-get install locales Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: locales : Depends: glibc-2.11-1 E: Broken packages
on essaye d'installer les dépendances (glibc-2.11-1) :
Mais libc6 est déjà installé...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 # apt-get install glibc-2.11-1 Reading package lists... Done Building dependency tree Reading state information... Done Package glibc-2.11-1 is a virtual package provided by: libc6 2.11.3-4 [Not candidate version] E: Package 'glibc-2.11-1' has no installation candidate
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 # apt-get install libc6 Reading package lists... Done Building dependency tree Reading state information... Done libc6 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Pourquoi n'y a t il pas moyen de configurer proprement les locales?
Ce problème est présent depuis le début de mon hébergement.
Je vous remercie pour votre aide.
Partager