Results 1 to 6 of 6

Thread: Trouble locale Settings !!

  1. #1
    Join Date
    2014-Oct
    Posts
    3

    Trouble locale Settings !!

    Hi i cant write english very well .
    I have Kali Linux and i kill my locale Settings i hope someone here can help me .
    I don't wont do reinstall all. I have Kali on a dual boot machine fully installed.
    the locale that i wont do install ("de_AT.utf8") AND I AM A NOOB

    when i open a console :
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)


    root@kali:~# locale-gen
    bash: /usr/sbin/locale-gen: Permission denied

    root@kali:~# dpkg-reconfigure locales
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = "en_US.en" ",
    LC_ALL = "en_US.UTF-8",
    LC_MONETARY = "de_AT.utf8",
    LC_NUMERIC = "de_AT.utf8",
    LC_MEASUREMENT = "de_AT.utf8",
    LC_TIME = "de_AT.utf8",
    LANG = "en_US,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
    dpkg-query: package 'locales' is not installed and no information 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: locales is not installed


    root@kali:~# apt-get install locales
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    libc6 : Breaks: locales (< 2.19)
    libc6:i386 : Breaks: locales (< 2.19)
    libkrb5support0 : Breaks: libk5crypto3 (< 1.12.1+dfsg-8) but 1.10.1+dfsg-5+deb7u2 is to be installed
    Breaks: libk5crypto3:i386 (< 1.12.1+dfsg-8) but 1.10.1+dfsg-5+deb7u2 is to be installed
    libkrb5support0:i386 : Breaks: libk5crypto3 (< 1.12.1+dfsg-8) but 1.10.1+dfsg-5+deb7u2 is to be installed
    Breaks: libk5crypto3:i386 (< 1.12.1+dfsg-8) but 1.10.1+dfsg-5+deb7u2 is to be installed
    locales : Depends: glibc-2.13-1
    E: Unmet dep

    PLZ HELP ME ( apt-get update or upgrade or disupgrade not work)

  2. #2
    Join Date
    2014-Oct
    Posts
    1
    You need to add 'LC_ALL=en_US.UTF-8' to the bottom of .bashrc. so run followings on the terminal

    echo 'export LC_ALL=en_US.UTF-8'>>.bashrc
    source .bashrc

  3. #3
    Join Date
    2014-Oct
    Posts
    3
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    root@kali:~#
    root@kali:~# echo 'export LC_ALL=en_US.UTF-8'>>.bashrc
    root@kali:~# source .bashrc
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    root@kali:~#

  4. #4
    Try type the command:
    sudo locale-gen
    sudo dpkg-reconfigure locales

  5. #5
    Join Date
    2014-Oct
    Posts
    3
    Quote Originally Posted by jan127 View Post
    Try type the command:
    sudo locale-gen
    sudo dpkg-reconfigure locales

    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
    root@kali:~# sudo locale-gen
    sudo: locale-gen: command not found
    root@kali:~# locale-gen
    bash: /usr/sbin/locale-gen: Permission denied
    root@kali:~# sudo dpkg-reconfigure locales
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = "en_US.en" ",
    LC_ALL = "en_US.UTF-8",
    LC_MONETARY = "de_AT.utf8",
    LC_NUMERIC = "de_AT.utf8",
    LC_MEASUREMENT = "de_AT.utf8",
    LC_TIME = "de_AT.utf8",
    LANG = "en_US,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
    dpkg-query: package 'locales' is not installed and no information 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: locales is not installed

  6. Quote Originally Posted by Neo1981 View Post
    You might want to run 'apt-get -f install' to correct these:
    Try that and then try apt-get install locales.. (Full disclose, I have no clue if that will work here, careful as it actually might make things worse.)
    Fact, Science and the Pursuit of Knowledge. Working to secure your networks from threats; Outside and Within.

Similar Threads

  1. Kali-undercover doesn't work properly on russian locale
    By Ildar in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2022-06-03, 11:49
  2. Raspberry Pi 2 clock time and locale
    By Mr Wolf in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2015-12-07, 16:11
  3. locale error
    By KiddoMonster in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2015-02-23, 22:25
  4. Locale Error
    By KiddoMonster in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2015-02-23, 22:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •