Upgrading from dapper to edgy causes locales to stop working during installation

Bug #63687 reported by Haggai Eran
28
Affects Status Importance Assigned to Milestone
langpack-locales (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: locales

I use the following locale settings (set by dapper installer)
LANG=he_IL.UTF-8
LANGUAGE=he_IL:he:en_GB:en

When upgrading dapper to edgy, I got the following messages:
Preparing to replace locales 2.3.18 (using .../locales_2.3.21_all.deb) ...
Unpacking replacement locales ...
Preparing to replace xserver-xorg 7.0.0-0ubuntu45 (using .../xserver-xorg_1%3a7.0.22ubuntu10_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "he_IL:he:en_GB:en",
        LC_ALL = (unset),
        LANG = "he_IL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale. at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 54.

...
The perl and gtk warnings appear again and again for many packages.

Trying to run a translated application (gcalctool) shows that it doesn't use the set locale, but uses its defaults instead.

Tags: edgy-close
Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 63687] Upgrading from dapper to edgy causes locales to stop working during installation

That is not abnormal for dapper->edgy upgrades. Do the locales function
again afterwards?

Revision history for this message
Haggai Eran (haggai-eran) wrote : Re: [Bug 63687] Upgrading from dapper to edgy causes locales to stop working during installation

locales function perfectly when the upgrade is finished. I just
thought this behaviour isn't so good, since some programs display text
during their upgrade, and may even ask questions, and because the
locales aren't configured, these questions aren't translated.

On 10/3/06, Dennis Kaarsemaker <email address hidden> wrote:
> That is not abnormal for dapper->edgy upgrades. Do the locales function
> again afterwards?
>
> --
> Upgrading from dapper to edgy causes locales to stop working during installation
> https://launchpad.net/bugs/63687
>

--
Haggai Eran

Revision history for this message
Martin Pitt (pitti) wrote :

We have this problem on every release. Since libc is upgraded first, locales do not work any more afterwards; they have to be regenerated.

Michael, is it possible to solve that in the dist-upgrader? I. e. by upgrading/configuring the locales package right after upgrading glibc?

Changed in langpack-locales:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
kzez1986 (kzez1986) wrote :

Solution of this bug is very simple! I found it:

Simply, you should install locales and language-support for edgy:

1. Edit file /etc/apt/sources.list and replace dapper for edgy (if it is not done)
2. sudo apt-get update
3. sudo apt-get install locales
4. sudo apt-get install language-support-pl (pl is languagee code, insert here your language code)
5. sudo apt-get install language-pack-pl (pl is languagee code, insert here your language code)
6. sudo apt-get install language-pack-pl-base (pl is languagee code, insert here your language code)
7. Again edit /etc/apt/sources.list to replace edgy to dapper (to undo changes and use dapper repository again)
8. sudo apt-get update]
9. restart X-Window, changes will work

Revision history for this message
kzez1986 (kzez1986) wrote :

Bug solved!

Changed in langpack-locales:
status: Confirmed → Fix Committed
Revision history for this message
Sam Brightman (sambrightman) wrote :

kzez, that's all good, but isn't the point that this should be working automatically? Locales work in dapper, you expect them to work in upgrade, and then also in edgy (as per Martin's comment).

Martin Pitt (pitti)
Changed in langpack-locales:
status: Fix Committed → Confirmed
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

The 18 month support period for Edgy Eft 6.10 has reached it's end of life. As a result, we are closing This Edgy Eft task.

Hardy Heron 8.04 was recently released. It would be helpful if you could test the new release and verify if this is still an issue - http://www.ubuntu.com/getubuntu/download. Please let us know your results. Thanks.

Changed in langpack-locales:
status: Confirmed → Invalid
Revision history for this message
Haggai Eran (haggai-eran) wrote :

I don't think this bug exist in hardy. I don't remember seeing these errors when upgrading.

Revision history for this message
Sam Brightman (sambrightman) wrote :

I have seen this bug recently, I believe on the Gutsy -> Hardy upgrade. If ferevently expiring bugs like this as if they were support requests is the policy, it's little wonder that this was one of the more minor problems amongst many (that caused an unusable/unbootable machine for the third successive upgrade).

Revision history for this message
David Greaves (david-dgreaves) wrote :

I see this bug upgrading from 8.04 to 8.10

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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