wubi sets wrong locale

Bug #738274 reported by David Balažic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wubi
New
Undecided
Unassigned
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Installing Ubuntu 10.10 desktop i386 with Wubi 197 from Windows XP set the locale wrong.

I am sure this was already reported, but I could not find a relevant bug.

I am located in Slovenia, have set Slovenian keyboard layout and Slovenian timezone (CET) ans 24 hour time format in Windows.

But after installing Ubuntu, in Ubuntu I have US keyboard layout, some US time zone and 12 hour format in the Clock panel applet.

Especially the time zone is a problem, since Ubuntu saves the (what it thinks is) local time to the hardware clock and ruining the correct time there.

David Balažic (xerces8)
description: updated
Revision history for this message
Philip Muškovac (yofel) wrote :

Thank you for taking your time to report this bug, this should be a Wubi issue though so we're closing the Ubuntu task.

Changed in ubuntu:
status: New → Invalid
Revision history for this message
bcbc (bcbc) wrote :

When you install Wubi - before you reboot it sets up a file C:\ubuntu\install\custom-installation\preseed.cfg which contains instructions to ubiquity on how to install (including the timezone). e.g. in mine it shows:

## CLOCK AND TIME ZONE
d-i clock-setup/utc boolean false
d-i time/zone string America/Vancouver

This file is removed after the install, so you would have to reinstall to see it. The question is, is Wubi providing the incorrect instruction to Ubiquity or is Ubiquity failing to set it correctly.

Revision history for this message
David Balažic (xerces8) wrote :

Are there any logs or other leftovers in the installed system?

Revision history for this message
bcbc (bcbc) wrote :

I did get an /var/log/installer/debug file (I don't know if this is always created - I ran my install in "Verbose" mode). And as far as I can see it doesn't refer to the preseed file's location.

Revision history for this message
bcbc (bcbc) wrote :

I forgot to mention that the debug file above was from an installation that failed for another (unrelated reason). So it might be that it didn't get to the timezone part. I'll look out for this the next time I do a fresh install and see if I can get some better info

Revision history for this message
David Balažic (xerces8) wrote :

I searched in /var/log/installer/ but did not find the values for time/zone and others.

Is there a way to make wubi create a new preseed.cfg file, without the need to uninstall Ubuntu first?

Or any other idea to move on with research?

Revision history for this message
bcbc (bcbc) wrote :

I reinstalled (Natty test). It sets my location correctly to Vancouver, however it looks like it assumes that the computer clock is set to UTC as the time was displayed as 3:36PM (instead of 10:36PM). As soon as I connected to the net it fixed itself.

Revision history for this message
David Balažic (xerces8) wrote :

I confirm that in Windows I have keyboard layout set to Slovenian and time zone "GMT+01:00 Belgrade, Bratislava, Budapest, Ljubljana, Prague"

But I have location set to "United States" and a customized Standards and formats: set to "English (United States)" but customized to be like Slovenian. The reason is that otherwise some Windows applications ASSume that I want their GUI translated to Slovene, which is not true. (translations usually suck in quality).

Revision history for this message
bcbc (bcbc) wrote :

Based on the documentation here:
http://d-i.alioth.debian.org/manual/en.i386/apbs04.html#preseed-time
and the preseed file:
## CLOCK AND TIME ZONE
d-i clock-setup/utc boolean false
d-i time/zone string America/Vancouver

it's supposed to say that the computer time is not in UTC format, and the location is Vancouver. So in my case, it seems to have ignored the UTC instruction, and translated the computer clock from UTC to Vancouver time.

Yet the /var/log/installer/debug seems to show that it is set to UTC false:
Mar 19 15:13:27 debconf (filter): <-- GET clock-setup/utc
debconf (developer): <-- GET clock-setup/utc
debconf (developer): --> 1 false

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.