Bug#310124: Upgrade report woody to sarge on i386: some troubles with german locales
On Sat, May 21, 2005 at 09:57:20PM +0200, Holger Wansing wrote:
> Package: upgrade-reports
>
> - Were there any problems with the system after upgrading?
>
> Yes.
> I had german console and german X programs before starting the
> upgrade.
> Everything went fine till the point "Configure locales".
> >From that time there were over and over errors
> like this:
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LC_CTYPE = "de_DE",
> LANG = "de_DE"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C")
>
> I'm sorry I cannot give any output of "locale" from before the
> upgrade.
> The file /etc/locale.gen contained
> de_DE
> before upgrading!
This was not correct. This should be
de_DE ISO-8859-1
I think I can reproduce your problem:
Unfortunatly woody locale-gen had 3 bugs:
1) It silently discard incorrect lines
2) It fails to remove locales that are no more generated.
3) The debconf template fail to write to /etc/locale.gen the first
time.
So what happen is that locale.gen has been configured correctly before
being set to 'de_DE', so the de_DE locales were available. Upon upgrade,
locale-gen is automatically run and remove then (since they are not
defined correctly in /etc/locale.gen), so you end up without de_DE
locales.
Now, what I would like to know is how you came with de_DE in
/etc/locale.gen. Maybe this is linked to bug 3) above. Do you remember?
Did you install woody from scratch, or by upgrading from potato ?
Thanks a lot for your upgrade-reports!
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
Reply to: