New language package installed, but locale is not generated!

Bug #17900 reported by Soós Máté
6
Affects Status Importance Assigned to Milestone
language-pack-fr (Ubuntu)
Invalid
High
Martin Pitt

Bug Description

When I apt-get language-pack-fr it installs, but the corresponding fr_FR.UTF-8 locale
is not *generated*: I have to manually do "dpkg --reconfigure locales" and
say "Done", then it will generate the locale.

By the way, the package "language-pack-fr" DOES actually select the locales to be
generated (i.e. I don't have to select them in the menu given to me by "dpkg --
reconfigure locales", so that part works.

It should be simple to resolve this.

NOTE: Most probably ALL language-pack-* packages have this error

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

That works fine for me. Can you please do the following:

 * sudo dpkg -P language-pack-fr-base language-pack-fr
 * check that there are no fr_* entries any more in /etc/locale.gen, and attach
the file here as locale.gen.before
 * sudo sh -x /usr/sbin/install-language-locales fr 2> ill-out.txt
 * attach /etc/locale.gen as locale.gen.after
 * attach ill-out.txt
 * reinstall language-pack-fr to get your translations back

Thanks!

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

(In reply to comment #1)
> That works fine for me. Can you please do the following:
>
> * sudo dpkg -P language-pack-fr-base language-pack-fr
> * check that there are no fr_* entries any more in /etc/locale.gen, and attach
> the file here as locale.gen.before
> * sudo sh -x /usr/sbin/install-language-locales fr 2> ill-out.txt
> * attach /etc/locale.gen as locale.gen.after
> * attach ill-out.txt
> * reinstall language-pack-fr to get your translations back

Just a reminder, I need this information to debug this issue. It works fine for
many people and for me, so without somebody who can reproduce this I can't do
anything.
> Thanks!

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

Just silence here, so I'm closing this for now since it works for everybody
else. If it still doesn't work for you, please add the debugging information I
asked for and complain loudly :-)

Thanks,

Martin

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.