LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   missing locale (https://www.linuxquestions.org/questions/linux-newbie-8/missing-locale-558582/)

benny_j 06-02-2007 07:29 AM

missing locale
 
Hi,

Like so many others before me, I'm trying to get iso8859-15 instead of utf-8. I tried running:

sudo locale-gen sv_SE.ISO-8859-15

and that seemed to work:

Generating locales...
sv_SE.ISO-8859-15... done
Generation complete.


but now, when I run the command:

sudo dpkg-reconfigure locale

I get:

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



I'm not sure but I think this might be bad. If it is ok, where do I go from here?

I am using Kubuntu 7.04 Feisty Fawn with Ubuntu kernel 2.6.20-16-386


Any help would be most appreciated,
Benny Johansson

kaz2100 06-04-2007 10:01 PM

Hya,

I somewhat think that the package name you need may be "locales".

Happy Penguins!

jay73 06-04-2007 10:12 PM

apt-cache search 'locale'

Does that work on Ubuntu or only on Debian?

benny_j 06-05-2007 04:39 AM

Quote:

Originally Posted by kaz2100
Hya,

I somewhat think that the package name you need may be "locales".

Happy Penguins!


Yes, I had that package until I compiled the iso-8859-15 code. Does this mean that it was lost and I should download and install that package again or will that just mess things up?

Also, I have been trying to solve this problem by reading previous posts and it seems like I should get some kind of option when running the command
dpkg-reconfigure locale
but that never happend. All I got was a list of chartypes and their status (updated or not). Any idea why?


/Benny

benny_j 06-05-2007 04:42 AM

Quote:

Originally Posted by jay73
apt-cache search 'locale'

Does that work on Ubuntu or only on Debian?


Yes, it works the same way for Ubuntu but should I install locale again? The package was present before the whole adding of iso-8859-15 and also, when I type locale I get the whole LC_ output.

/Benny

kaz2100 06-05-2007 06:35 AM

Hya,
Try this and see what happens.
Code:

dpkg-reconfigure locales
Happy Penguins!

benny_j 06-05-2007 08:02 AM

Quote:

Originally Posted by kaz2100
Hya,
Try this and see what happens.
Code:

dpkg-reconfigure locales
Happy Penguins!


ooh, I didn't put the 's' in locales. Sorry...

But where do I go from here?
How can I choose to use the iso-8859-15 as my systemwide charset?


All times are GMT -5. The time now is 03:49 AM.