Intrepid alpha-2 installation not localised

Bug #249526 reported by Tore Anderson on 2008-07-17
6
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Undecided
Unassigned

Bug Description

I've been testdriving Kubuntu Intrepid alpha-2, and have found that the finished installation (from scratch) always is localised to English, even though I answer all questions regarding locality during installation with Norway.

At first I thought this was due to the lack of network connectivity during installation (see bug #135752), but now I tried an install with wired network connected and correctly set up, and it still didn't install any Norwegian language packs, /etc/default/locale said nothing about Norwegian locales, and so on. I had to set up the locale file myself, install all the language packs, configure KDE to use the Norwegian languages, and so on. (It would be impossible to do this if I didn't know English to begin with.)

There's also still something setting $LANGUAGE to "en_US" even though it is set to something else in /etc/default/locale. Haven't figured out who the culprit is there yet though.

Tore

Colin Watson (cjwatson) wrote :

OK. It may be that localisation just plain wasn't working, or it may be that something's going wrong with package acquisition.

This bug is filed against ubiquity, but we didn't release a desktop CD with Alpha 2. Were you in fact using the alternate install CD?

Could you please attach /var/log/installer/syslog from the installed system to this report? With any luck, it should have enough information for us to diagnose this.

Changed in ubiquity:
status: New → Incomplete
Tore Anderson (toreanderson) wrote :

I used the only installation ISO I could find on the FTP...

I researched a little bit and came to the conclusion that «ubiquity» is only the graphical/live-cd installer, and that it doesn't cover the text-mode installer (which is what I thought). If so then you're right that it is filed against the correct package as I was using the text-mode installer. Apologies for that, I blame it on the guy in comment #8 in bug #135752 though. =)

I'll be happy to try the graphical installation process too and see if that's any better (if it gets available in alpha-3), but I'm not sure I'll be able to use that one come release as it didn't support encrypted installs if I remember correctly.

I'm attaching that syslog file, and hope you can reassign the bug to the correct package.

Tore

Tore Anderson (toreanderson) wrote :

I've now been playing with Kubuntu alpha-3, both the alternate and the LiveCD installation methods, both with internet connectivity available during installation.

It appears to me that localisation is completely broken at the moment. No matter how I do it, the installation ends up being localised to English. So either there's some common bug that affects both Ubiquity and the alternate CD installer, there's separate localisation-related bugs in both installers, or I'm doing something wrong.

Ubiquity does actually give a language-related error message when starting the installation, see bug #253908.

Tore

Colin Watson (cjwatson) wrote :

Jul 17 10:50:13 in-target: Couldn't find package language-pack-C

Er. You didn't select "No localisation" by any chance, did you? What exactly did you select in the first three screens of the installer?

Tore Anderson (toreanderson) wrote :

No, I selected Norwegian whenever I was asked about anything regarding country/language. At least I remember selecting it on the ISOLINUX menu and also that the keyboard layout detecting program correctly determined Norwegian layout. I don't remember at the moment if there were any other places where I selected Norwegian, but I did certainly not select "no localisation" or anything like that.

I intend to try again when alpha-5 is out...

Tore

Artem Popov (artfwo) wrote :

Same thing here on Alpha-5

Selected Russian from the first screen, walked through all the screens.

On the final screen, where it shows all the details before you click "Start Installation", there's an info string at the top: "Language: No localization"

It seems, Ubiquity switched to the C locale somewhere after selecting the ru_RU locale, judging by this log entries:

Sep 8 02:19:54 ubuntu ubiquity[5603]: Ubiquity 1.9.10
Sep 8 02:19:55 ubuntu ubiquity[5603]: log-output -t ubiquity laptop-detect
Sep 8 02:19:56 ubuntu ubiquity[5603]: log-output -t ubiquity fontconfig-voodoo --auto --force --quiet
Sep 8 02:19:59 ubuntu ubiquity[5603]: switched to page stepLanguage
Sep 8 02:20:00 ubuntu ubiquity[5603]: switched to page stepLanguage
Sep 8 02:20:04 ubuntu localechooser: info: Language = 'ru'
Sep 8 02:20:04 ubuntu localechooser: info: line=ru;2;RU;UTF-8;ru_RU.UTF-8;;console-setup
Sep 8 02:20:04 ubuntu localechooser: info: Set debian-installer/language = 'ru'
Sep 8 02:20:04 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Sep 8 02:20:04 ubuntu localechooser: info: Set debian-installer/fallbacklocale = 'ru_RU.UTF-8'
Sep 8 02:20:04 ubuntu localechooser: info: Default country = 'RU'
Sep 8 02:20:04 ubuntu localechooser: info: Set debian-installer/consoledisplay = 'console-setup'
Sep 8 02:20:04 ubuntu localechooser: info: Set debconf/language = 'ru'
Sep 8 02:20:04 ubuntu localechooser: info: Set debian-installer/country = 'DZ'
Sep 8 02:20:04 ubuntu localechooser: info: Falling back to locale 'ru_RU.UTF-8'
Sep 8 02:20:04 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Sep 8 02:20:05 ubuntu ubiquity[5603]: log-output -t ubiquity fontconfig-voodoo --auto --force --quiet
Sep 8 02:20:06 ubuntu ubiquity[5603]: Step_before = stepLanguage
Sep 8 02:20:09 ubuntu ubiquity[5603]: switched to page stepLocation
Sep 8 02:20:16 ubuntu localechooser: info: Locale has been preseeded to ru_RU.UTF-8
Sep 8 02:20:16 ubuntu localechooser: info: Set localechooser/languagelist = 'ru'
Sep 8 02:20:16 ubuntu localechooser: info: Set debian-installer/country = 'RU'
Sep 8 02:20:16 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Sep 8 02:20:16 ubuntu localechooser: info: Language = 'C'
Sep 8 02:20:16 ubuntu localechooser: info: line=C;0;;;C;en;
Sep 8 02:20:16 ubuntu localechooser: info: Set debian-installer/language = 'en'
Sep 8 02:20:16 ubuntu localechooser: info: Set debian-installer/locale = 'C'
Sep 8 02:20:16 ubuntu localechooser: info: Set debian-installer/fallbacklocale = 'C'
Sep 8 02:20:16 ubuntu localechooser: info: Set debian-installer/consoledisplay = ''
Sep 8 02:20:16 ubuntu localechooser: info: Set debconf/language = 'en'
Sep 8 02:20:16 ubuntu localechooser: info: Set debian-installer/country = 'DZ'
Sep 8 02:20:16 ubuntu localechooser: info: Set debian-installer/locale = 'C'
Sep 8 02:20:16 ubuntu ubiquity[5603]: Step_before = stepLocation
Sep 8 02:20:18 ubuntu ubiquity[5603]: log-output -t ubiquity setxkbmap -model pc105 -layout us,ru -variant , -option grp:alt_shift_toggle
Sep 8 02:20:18 ubuntu ubiquity[5603]: switched to page stepKeyboardConf

Changed in ubiquity:
status: Incomplete → Confirmed
Tore Anderson (toreanderson) wrote :
Download full text (4.0 KiB)

I tested alpha-5 (desktop CD) of Kubuntu 8.10 today (completely new intallation, no old /home partition or other baggage). The problem is not solved. I noted all the steps I did during the installation:

1) Selected Norwegian Bokmål at the ISOLINUX menu during boot, and chose «Installér Kubuntu» (Install Kubuntu).
2) The GUI installation wizard appeared, in Norwegian. Norwegian language was preselected. I clicked «Next».
3) In step 2 I chose a timezone of Oslo. Don't remember what was preselected.
4) In step 3 I chose a keyboard layout of Norway->Norway (USA->USA was preselected)
The rest of the installer did not have any language/locality-related questions. In the end a summary was shown, saying (in Norwegian) something like this (amongst other things that seemed irrelevant):
Language: Norwegian Bokmål
Keyboard setup: Norway
Place: Europe/Oslo

It then installed fine.

After rebooting the KDM screen shown was in English, so was KDE after I logged in. I was immediately presented with an error message which went something along these lines:

Error - Plasma Workspace
The file or folder /home/tore/Desktop/ does not exist.

However /home/tore/Skrivebord did exist (the Norwegian translation), so I assume some parts of KDE expect Norwegian locale, while other parts expect American. The time zone was correctly set to CEST though. I started a konsole and grabbed the output of "locale":

LANG=nb_NO.UTF-8
LANGUAGE=en_US
LC_CTYPE="nb_NO.UTF-8"
LC_NUMERIC="nb_NO.UTF-8"
LC_TIME="nb_NO.UTF-8"
LC_COLLATE="nb_NO.UTF-8"
LC_MONETARY="nb_NO.UTF-8"
LC_MESSAGES="nb_NO.UTF-8"
LC_PAPER="nb_NO.UTF-8"
LC_NAME="nb_NO.UTF-8"
LC_ADDRESS="nb_NO.UTF-8"
LC_TELEPHONE="nb_NO.UTF-8"
LC_MEASUREMENT="nb_NO.UTF-8"
LC_IDENTIFICATION="nb_NO.UTF-8"
LC_ALL=

Note the discrepancy between $LANGUAGE and $LANG.

/etc/default/locale contains the follwing two lines:

LANG="nb_NO.UTF-8"
LANGUAGE="nb_NO_DZ:nb_NO:nb:no_NO:no:nn_NO:nn:en"

I wonder where "DZ" comes from, it also occurs in Артём Попов's log. Algeria? Weird...

Output from «dpkg -l '*language*'»:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=========================================-=====================================-============================================
ii language-pack-en 1:8.10+20080527 translation updates for language English
ii language-pack-en-base 1:8.10+20080527 translations for language English
un language-pack-gnome-en <none> (no description available)
un language-pack-gnome-en-base <none> (no description available)
ii language-pack-kde-en 1:8.10+20080527 KDE translation updates for language English
ii language-pack-kde-en-base 1:8.10+20080527 KDE translations for language English
...

Read more...

Harald Sitter (apachelogger) wrote :

Is this still an issue?

Changed in ubiquity (Ubuntu):
status: Confirmed → Incomplete
tags: added: kubuntu
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers