Problems with locales

Problems with locales

Postby Fenlig » Thu Mar 31, 2016 1:31 pm

Hey Guys,

My locales seem to be unset and I cannot set them with locale-gen as its not installed and it won't install be cause my locales aren't set :cry:

Code: Select all
fenlig@PiTron:~ $ sudo dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_GB.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
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/i386-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
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
Fenlig
 
Posts: 1
Joined: Thu Mar 31, 2016 1:28 pm

Re: Problems with locales

Postby goha » Sun Apr 03, 2016 5:38 pm

Try this:
$ sudo apt-get install dpkg-reconfigure
$ sudo apt-get update
$ sudo dpkg-reconfigure locales
goha
 
Posts: 151
Joined: Wed Oct 08, 2014 9:22 am

Re: Problems with locales

Postby dwgeorge84 » Tue Apr 05, 2016 7:24 pm

i am having the same problems when i run the commands this is what i get

Code: Select all
sudo apt-get install dpkg-reconfigure
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dpkg-reconfigure


Code: Select all
sudo apt-get update
Ign http://ftp.us.debian.org jessie InRelease
Hit http://ftp.us.debian.org jessie Release.gpg
Hit http://ftp.us.debian.org jessie Release
Hit http://ftp.us.debian.org jessie/main i386 Packages
Hit http://ftp.us.debian.org jessie/main Translation-en
Reading package lists... Done


Code: Select all
sudo dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        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
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/i386-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
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



i am new to linux and exagear and any help would be nice i was running a teamspeak server i had a power outage now i cant get the thing running and i think this is the reason is that the locals is f'd
dwgeorge84
 
Posts: 1
Joined: Tue Apr 05, 2016 7:20 pm

Re: Problems with locales

Postby goha » Fri Apr 08, 2016 12:49 pm

Code: Select all
sudo apt-get install dpkg-reconfigure
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dpkg-reconfigure


dpkg-reconfigure package was not installed. Perhaps you need to update repositories first:
Code: Select all
sudo apt-get update

and then install required package.
goha
 
Posts: 151
Joined: Wed Oct 08, 2014 9:22 am


Return to ExaGear Desktop

Who is online

Users browsing this forum: No registered users and 5 guests