In another post a member reporting a problem with using a terminal command to upgrade their software and showed an image of
I do not know why or how the member got to that state so let me explain what I tried to do my system in hope I was going to resolve it.
step 1 I used root powers to examine the contents of /etc/locale.gen
step 2 as a local user I ran the command
Code:
gordon@asus:~$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
gordon@asus:~$
step 3 I made a full backup of that file and then used root powers to strip all contents until it was only this
en_AU.UTF-8 UTF-8
en_US.UTF-8 UTF-8
step 4 I then as root attempted to change my locale with this result
Code:
gordon@asus:~$ sudo locale-gen
Generating locales (this might take a while)...
en_AG.UTF-8... done
en_AU.UTF-8... done
en_BW.UTF-8... done
en_CA.UTF-8... done
en_DK.UTF-8... done
en_GB.UTF-8... done
en_HK.UTF-8... done
en_IE.UTF-8... done
en_IN.UTF-8... done
en_NG.UTF-8... done
en_NZ.UTF-8... done
en_PH.UTF-8... done
en_SG.UTF-8... done
en_US.UTF-8... done
en_ZA.UTF-8... done
en_ZM.UTF-8... done
en_ZW.UTF-8... done
Generation complete.
gordon@asus:~$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
I admit I am new to LL and may do things a bit different. I am sure some members might find me arrogant but I am stumped on this one.
Any clues
Hi
a small update running on a live dvd of 64 bit 3.0
repeated above commands with similar result ....hmmm
Try this link
http://www.cyberciti.biz/faq/how-to-set-...inux-unix/
and in particular to use different commands from above as follows
Code:
sudo su
locale-gen en_AU.utf8
Generating locales (this might take a while)...
en_AU.UTF-8... done
Generation complete.
update-locale
# prompt returns without any error displayed
##### as a local user test it
linux@linux:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
# OK try a different updater command
root@linux:/home/linux# locale-gen
Generating locales (this might take a while)...
en_AG.UTF-8... done
en_AU.UTF-8... done
en_BW.UTF-8... done
en_CA.UTF-8... done
en_DK.UTF-8... done
en_GB.UTF-8... done
en_HK.UTF-8... done
en_IE.UTF-8... done
en_IN.UTF-8... done
en_NG.UTF-8... done
en_NZ.UTF-8... done
en_PH.UTF-8... done
en_SG.UTF-8... done
en_US.UTF-8... done
en_ZA.UTF-8... done
en_ZM.UTF-8... done
en_ZW.UTF-8... done
Generation complete.
I may be completely wrong here......but it appears it is ignoring the file contents of /etc/locale.gen
According to that link there may be a locale.conf but no such file found.
I am still clueless
so I destroyed the file and re-created it with the following contents
Code:
cat /etc/locale.gen
en_AU.UTF-8 UTF-8
root@linux:/home/linux#
but the update command is still ignoring it
I'm not sure what you're saying here. I don't see a 'bug' with locales in LL. Can you please expand upon your comments. Thank you.
Jerry
What I am trying to say is I can not get locales to change. Its failing for a hd install and for a bootup of a live dvd of 64 bit 3.0.
I was hoping my code boxs revealed all but my communication skills must still be crap.
I gather you can change your locales and not able to duplicate my commands?
thanks for reading.
I'd have to ask why you are choosing the command line to gen locales? Does Settings, Language Support not function more easily?
Hi
thanks for looking at this issue
booted up live dvd and here is first image trying to follow your suggestions of not using commands but gui
Firstly gui is not setup properly which may not help beginners?
![[Image: XR34BCUl.png]](http://imgur.com/XR34BCUl.png)
2) live dvd ....lets do that update .....Correction it looks like it is doing all of the updates to the live dvd.
OK so I wait until I have them all and then same result via gui
only the aussie lang appears to my eyesight to be greyed out?
So I dragged it to the top and clicked on system wide button
locale command as local user is still the same result in first post.
I repeat that in the hope I have expanded comments
changing locale to aussie fails on a live dvd.
![[Image: dlMAiWrl.png]](http://imgur.com/dlMAiWrl.png)
I am not happy with this result. No doubt I will wake up tomorrow morning with brighter news?
But also it means what ever that other post did......might have some relevance?
I shall now ask now I know what he did now
Here are all the updates done via gui in the hope you can spot a missing one?
Code:
linux@linux:/var/cache/apt/archives$ ls
firefox-locale-en_47.0+build3-0ubuntu0.16.04.1_amd64.deb libreoffice-core_1%3a5.1.3-0ubuntu1_amd64.deb libreoffice-style-tango_1%3a5.1.3-0ubuntu1_all.deb
gimp-help-common_2.8.2-0.1_all.deb libreoffice-draw_1%3a5.1.3-0ubuntu1_amd64.deb libreoffice-writer_1%3a5.1.3-0ubuntu1_amd64.deb
gimp-help-en_2.8.2-0.1_all.deb libreoffice-gtk_1%3a5.1.3-0ubuntu1_amd64.deb lock
hunspell-en-au_1%3a5.1.0-1ubuntu2.2_all.deb libreoffice-gtk3_1%3a5.1.3-0ubuntu1_amd64.deb mythes-en-au_2.1-5.4_all.deb
hunspell-en-ca_1%3a5.1.0-1ubuntu2.2_all.deb libreoffice-help-en-gb_1%3a5.1.3-0ubuntu1_all.deb mythes-en-us_1%3a5.1.0-1ubuntu2.2_all.deb
hunspell-en-gb_1%3a5.1.0-1ubuntu2.2_all.deb libreoffice-help-en-us_1%3a5.1.3-0ubuntu1_all.deb openoffice.org-hyphenation_0.9_all.deb
hunspell-en-za_1%3a5.1.0-1ubuntu2.2_all.deb libreoffice-impress_1%3a5.1.3-0ubuntu1_amd64.deb partial
hyphen-en-gb_1%3a5.1.0-1ubuntu2.2_all.deb libreoffice-l10n-en-gb_1%3a5.1.3-0ubuntu1_all.deb python3-uno_1%3a5.1.3-0ubuntu1_amd64.deb
hyphen-en-us_2.8.8-2ubuntu1_all.deb libreoffice-l10n-en-za_1%3a5.1.3-0ubuntu1_all.deb thunderbird-locale-en_1%3a38.8.0+build1-0ubuntu0.16.04.1_amd64.deb
libreoffice-avmedia-backend-gstreamer_1%3a5.1.3-0ubuntu1_amd64.deb libreoffice-math_1%3a5.1.3-0ubuntu1_amd64.deb thunderbird-locale-en-gb_1%3a38.8.0+build1-0ubuntu0.16.04.1_all.deb
libreoffice-base-core_1%3a5.1.3-0ubuntu1_amd64.deb libreoffice-pdfimport_1%3a5.1.3-0ubuntu1_amd64.deb thunderbird-locale-en-us_1%3a38.8.0+build1-0ubuntu0.16.04.1_all.deb
libreoffice-calc_1%3a5.1.3-0ubuntu1_amd64.deb libreoffice-style-elementary_1%3a5.1.3-0ubuntu1_all.deb
libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb libreoffice-style-galaxy_1%3a5.1.3-0ubuntu1_all.deb
linux@linux:/var/cache/apt/archives$
The Live image is for people to look around the OS. It's does not function the same as a installation to hard disk.
Sent from my phone using Tapatalk
Jerry
You may not know that I get only 4 Mbps so if you had read my earlier post talking about the live dvd.....next time pls be more expiicit.
I thought I was doing the right thing in claiming a possible bug by using the live dvd as it eliminates all of my own changes done to my hd setip.
I am now on hd setup. My sytem updates are all up-to-date.
I won't waste any more time uploading any screenshots as there is still NO difference.
I moved via GUI aussie lang to top as per the live dvd image in last post and still show no change in locale after clicking the sytem wide button.
I am getting tired and if you are across the trench you should be even more tired than me. I wil revisit this issue tomorrow afternoon to try and be clear headed.
cheers
I have elected to distro hop
I have marked it as solved as it no longer concerns me. Feel free to close my account, could not see a setting easily.
cheers
good luck from across the trench.
May I ask where to from here? Which distro will it be?
All the best anyway
