Configuration des locales

Fermé
niilos Messages postés 10 Date d'inscription dimanche 22 juin 2014 Statut Membre Dernière intervention 15 novembre 2014 - 24 juin 2014 à 00:02
niilos Messages postés 10 Date d'inscription dimanche 22 juin 2014 Statut Membre Dernière intervention 15 novembre 2014 - 3 juil. 2014 à 05:05
Bonjour à tous,
je travaille sur un VPS
la commande locale me renvoie des erreurs que j'aimerais résoudre
# 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=

Et quand j'essaye de réparer :
# 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

Cela fait un bout de temps que je m'acharne sur ce problème sans succès
A voir également:

3 réponses

TheBledard Messages postés 4555 Date d'inscription samedi 12 janvier 2008 Statut Contributeur Dernière intervention 7 septembre 2022 1 441
24 juin 2014 à 00:20
Salut,

Dans un premier temps (en root) :
apt-get install locales


Puis :

locale-gen fr_FR.UTF-8

Et seulement ensuite :

dpkg-reconfigure locales

Voilà ^^
0
niilos Messages postés 10 Date d'inscription dimanche 22 juin 2014 Statut Membre Dernière intervention 15 novembre 2014
24 juin 2014 à 08:21
Ceci est mon deuxième essai, j'ai entre temps installé cl-builder

# 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 :

# 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


# 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 ne trouve t il pas glibc-2.11-1 si son paquet libc6 est installé?
0
niilos Messages postés 10 Date d'inscription dimanche 22 juin 2014 Statut Membre Dernière intervention 15 novembre 2014
3 juil. 2014 à 05:05
personne ne sait?
0