Problème avec locale

Petite présentation

root@debian-tt:/home/tt# uname -a Linux debian-tt 3.1.0-1-amd64 #1 SMP Sun Dec 11 20:36:41 UTC 2011 x86_64 GNU/Linux

root@debian-tt:/home/tt# cat /etc/debian_version wheezy/sid

Mon sources.list (avec preference) est celui exposé ici : debian-fr.org/sources-list- … t5659.html

Fin de la présentation

Alors voilà … J’ai voulu essayer compiz et mutter sur mon gnome et, après réinstallation gnome me propose de me renommer tout mes documents à l’anglaise

Jusque là je me dis, OK pas de problème du vas faire un dpkg-reconfigure ca va bien aller

root@debian-tt:/home/tt# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_MONETARY = "France", LC_NUMERIC = "France", LC_MEASUREMENT = "France", LC_TIME = "France", LANG = "fr_FR.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Ne peut initialiser LC_ALL �� la locale par d��faut: Aucun fichier ou dossier de ce type /usr/bin/locale: Ne peut initialiser LC_ALL �� la locale par d��faut: Aucun fichier ou dossier de ce type Generating locales (this might take a while)... fr_FR.UTF-8... done Generation complete. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "France", LC_MONETARY = "France", LC_MEASUREMENT = "France", LC_NUMERIC = "France", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "France", LC_MONETARY = "France", LC_MEASUREMENT = "France", LC_NUMERIC = "France", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").

root@debian-tt:/home/tt# locale locale: Ne peut initialiser LC_ALL �� la locale par d��faut: Aucun fichier ou dossier de ce type LANG=fr_FR.UTF-8 LANGUAGE= LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC=France LC_TIME=France LC_COLLATE="fr_FR.UTF-8" LC_MONETARY=France 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=France LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL=

Donc par recherche sur internet j’ai essayer de tenter ma chance avec la commande “export”

root@debian-tt:/home/tt# export LC_ALL=fr_FR.UTF-8 root@debian-tt:/home/tt# dpkg-reconfigure locales Generating locales (this might take a while)... fr_FR.UTF-8... done Generation complete. root@debian-tt:/home/tt# exit exit tt@debian-tt:~$ su Password: root@debian-tt:/home/tt# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_MONETARY = "France", LC_NUMERIC = "France", LC_MEASUREMENT = "France", LC_TIME = "France", LANG = "fr_FR.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Ne peut initialiser LC_ALL �� la locale par d��faut: Aucun fichier ou dossier de ce type /usr/bin/locale: Ne peut initialiser LC_ALL �� la locale par d��faut: Aucun fichier ou dossier de ce type Generating locales (this might take a while)... fr_FR.UTF-8... done Generation complete. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "France", LC_MONETARY = "France", LC_MEASUREMENT = "France", LC_NUMERIC = "France", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "France", LC_MONETARY = "France", LC_MEASUREMENT = "France", LC_NUMERIC = "France", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").

Je me suis dis qu’une mise a jour ne peut pas lui faire de mal sait on jamais :whistle:

Fetched 1672 B in 6min 46s (4 B/s) Reading package lists... Done W: GPG error: http://ftp.fr.debian.org squeeze Release: The following signatures were invalid: BADSIG AED4B06F473041FA Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>

C’est étrange car je n’ai pas toucher à mon dossier de source … J’essaye néanmoins de rajouter cette clé

root@debian-tt:/home/tt# gpg --keyserver pgpkeys.mit.edu --recv-key 473041FA gpg: requesting key 473041FA from hkp server pgpkeys.mit.edu ?: pgpkeys.mit.edu: Connection timed out gpgkeys: HTTP fetch error 7: couldn't connect: Connection timed out gpg: no valid OpenPGP data found.

Le serveur ne répond pas … pourtant avec iceweasel j’arrive à accéder au site … :017

Merci à celui qui a eu la patience d’arriver jusque là :smiley:

Salut,
Que donne:

[quote]
Alors voilà … J’ai voulu essayer compiz et mutter sur mon gnome [/quote]
tu ne pourras pas avoir les 2 en même temps.
avec compiz gnome3 aura l’aspect fallback.
c’est a l’ouverture de session dans gdm3 que tu choisiras gnome3 + compiz ou gnome-shell (mutter)

tt@debian-tt:~$ apt-cache policy locales locales: Installed: 2.13-30 Candidate: 2.13-30 Version table: *** 2.13-30 0 990 http://ftp.fr.debian.org/debian/ wheezy/main amd64 Packages 90 http://ftp.fr.debian.org/debian/ sid/main amd64 Packages 100 /var/lib/dpkg/status 2.11.3-3 0 980 http://ftp.fr.debian.org/debian/ squeeze-updates/main amd64 Packages 2.11.3-2 0 500 http://ftp.fr.debian.org/debian/ squeeze/main amd64 Packages

@misaine Oui oui, j’ai voulu tester ce que ca donnait compiz et mutter en mode fallback, mais pas en même temps (A ce propos mutter n’était pas installé et pourtant j’ai jamais eu de soucis avec gnome-shell)

root@debian-tt:/home/tt# ping google.com PING google.com (173.194.34.14) 56(84) bytes of data. ^C --- google.com ping statistics --- 10 packets transmitted, 0 received, 100% packet loss, time 8999ms

Pourtant je confirme que j’ai bien internet ^^ (déjà je peux poster de ma machine)
Et puis même via le terminal

[code]root@debian-tt:/home/tt/Bureau# wget http://d24w6bsrhbeh9d.cloudfront.net/photo/1073297_700b.jpg
–2012-04-28 12:08:04-- http://d24w6bsrhbeh9d.cloudfront.net/photo/1073297_700b.jpg
Resolving d24w6bsrhbeh9d.cloudfront.net (d24w6bsrhbeh9d.cloudfront.net)… 205.251.205.135, 205.251.205.152, 205.251.205.168, …
Connecting to d24w6bsrhbeh9d.cloudfront.net (d24w6bsrhbeh9d.cloudfront.net)|205.251.205.135|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 155552 (152K) [image/jpeg]
Saving to: `1073297_700b.jpg’

100%[===========================================================================================================>] 155,552 60.0K/s in 2.5s

2012-04-28 12:08:08 (60.0 KB/s) - `1073297_700b.jpg’ saved [155552/155552][/code]

Bon :think: j’ai verifié que mon dns était bon

[code]root@debian-tt:/home/tt# nslookup www.google.fr
Server: 109.0.66.20
Address: 109.0.66.20#53

Non-authoritative answer:
www.google.fr canonical name = www-cctld.l.google.com.
Name: www-cctld.l.google.com
Address: 74.125.230.223
Name: www-cctld.l.google.com
Address: 74.125.230.215
Name: www-cctld.l.google.com
Address: 74.125.230.216

root@debian-tt:/home/tt# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0[/code]

Bon je vous fait pars de mes avancements :

Avant je ne pouvez pas désinstaller locales sans perdre gnome&co … et maintenant oui ( l’informatiques et ses mystères :017 )

EDIT : ait supprimé tout le code où on voit que je supprime locales (peu important)

Donc maintenant je l’ai désinstallé et :

root@debian-tt:/home/tt# dpkg-reconfigure locale perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_MONETARY = "France", LC_NUMERIC = "France", LC_MEASUREMENT = "France", LC_TIME = "France", LANG = "fr_FR@euro" 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 Package `locale' is not installed and no info is available. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. /usr/sbin/dpkg-reconfigure: locale is not installed

Comment est-ce que je peux vraiment tout désinstaller ?

:017

Et tu as refait un:

# dpkg-reconfigure locales ?

Oups désolé. J’ai édité mon message avec tout le bric a brac parce que je me suis rendu compte que c’etait inutile.

J’en ai fait un après ca n’a rien change. J’ai resupprimé pour en faire un sans que locale soit installer et il m’embête encore. Je le réinstalle et te fais un dpkg-reconfigure
J’ai aussi laissé ce qu’il me dit à l’install"

root@debian-tt:/home/tt# apt-get install locales Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: locales 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 5706 kB of archives. After this operation, 15.5 MB of additional disk space will be used. Get:1 http://ftp.fr.debian.org/debian/ wheezy/main locales all 2.13-30 [5706 kB] Fetched 5706 kB in 31s (180 kB/s) Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 33, in <module> from ALChacks import * File "/usr/share/apt-listchanges/ALChacks.py", line 32, in <module> sys.stderr.write(_("Can't set locale; make sure $LC_* and $LANG are correct!\n")) NameError: name '_' is not defined perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "France", LC_MONETARY = "France", LC_MEASUREMENT = "France", LC_NUMERIC = "France", LANG = "fr_FR@euro" 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 Preconfiguring packages ... Selecting previously unselected package locales. (Reading database ... 262937 files and directories currently installed.) Unpacking locales (from .../locales_2.13-30_all.deb) ... Processing triggers for man-db ... 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 Setting up locales (2.13-30) ... locale: Cannot set LC_ALL to default locale: No such file or directory Generating locales (this might take a while)... Generation complete. root@debian-tt:/home/tt# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_MONETARY = "France", LC_NUMERIC = "France", LC_MEASUREMENT = "France", LC_TIME = "France", LANG = "fr_FR@euro" 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/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory Generating locales (this might take a while)... fr_FR.UTF-8... done Generation complete. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "France", LC_MONETARY = "France", LC_MEASUREMENT = "France", LC_NUMERIC = "France", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "France", LC_MONETARY = "France", LC_MEASUREMENT = "France", LC_NUMERIC = "France", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").

Résolu !

Et ben parfois c’est vraiment un truc tout bête.

Rajouter LC_ALL=“fr_FR.UTF-8” dans /etc/environment !

:think: :think: Le problème de ping et de clé ne doivent pas être lié à ça …
Par contre comment tout ça a pu cafouiller je n’en sais trop rien ^^