Locale errors

  • Hi,
    I was attempting to download PlexRequests and set it up for autostart when I came across this error message:

    Code
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    	LANGUAGE = "en_US:en",
    	LC_ALL = (unset),
    	LC_CTYPE = "UTF-8",
    	LANG = "en_US.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to a fallback locale ("en_US.UTF-8").


    AFAIK, I haven't done anything to modify locales prior to this error message.
    After Googling around I attempted:



    Code
    sudo locale-gen "en_US.UTF-8"
    sudo dpkg-reconfigure locales


    Which generates the following error message:


    What am I doing wrong here?

  • I too am having this same problem. Running the command, as root, "dpkg-reconfigure locales" is supposed to be the normal way to fix this, but I just get error messages, no matter what I do, and the locale remains broken.


    I'm trying to set the default locale to "en_US.UTF-8", BTW. Nothing fancy.

  • sudo apt-get install --reinstall locales
    sudo dpkg-reconfigure locales
    # select en_US.UTF-8 and C.UTF-8
    # get the error
    sudo locale-gen en_US.UTF-8
    sudo locale-gen --no-purge --lang en_US.UTF-8
    sudo dpkg-reconfigure locales


    worked for me

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!