[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#172439: patch to fix this bug



Good investigation, thanks!

I've applied it to the current glibc with changing slightly your
changelog entry. This bug should be fixed in -6...

At Fri, 20 Dec 2002 12:36:00 +0900,
Masato Taruishi wrote:
> The attached patch should fix this long outstanding bug.
> The previous config script always set locales_to_be_generated
> even when /etc/locale.gen doesn't exist. So the question in
> dpkg-preconfigure time became empty in dpkg --configure locales time.
> The story was as follows:
> 
> *** apt-get install locales ****
> 
>  1) dpkg-preconfigure
> 
>     ----- .config -----
>       -> db_set locales/locales_to_be_generated ""
>       -> db_input
>            question will be asked.
> 
>  2) dpkg --configure locales
> 
>     ----- .config -----
>       -> db_set locales/locales_to_be_generated ""
>             #######HERE THIS QUESTION BECOMES EMPTY#####
>        -> db_input
>            question will be skiped.
>             #######SO THE QUESTION IS STILL EPMTY#####
> 
>     ----- .postinst -----
>       -> creating /etc/locale.gen which will be empty.
> 
> *** dpkg-reconfigure locales ***
> 
>     ----- .config -----
>       -> db_set locales/locales_to_be_generated ""
>       -> db_input
>            question will be asked.
> 
>     ----- .postinst -----
>       -> creating /etc/locale.gen correctly.

Regards,
-- gotom



Reply to: