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

Bug#183515: locales: busted postinst script?



>>>>> "GOTO" == GOTO Masanori <gotom@debian.or.jp> writes:

    GOTO> Stephen, could you send me your /etc/locale.gen, and
    GOTO> "debconf-show locales"?

Sorry, I screwed up earlier when Ben asked for it and didn't CC the
bug.  (Ben, of course it was my bad, but I think top-posting in that
case would be the best thing to do.  I might not return to the thread,
or whatever.)

Attachment: locale.gen
Description: /etc/locale.gen

------------------------------------------------------------------------
bash$ debconf-show locales
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
* locales/default_environment_locale: C
* locales/locales_to_be_generated: but may not be well tested. If you change, you need to rerun locale-gen., and want to continue, remove the above line. Otherwise, use the command, however, since it, de_DE@euro ISO-8859-15, en_GB ISO-8859-1, en_US ISO-8859-1, en_US.UTF-8 UTF-8, he_IL ISO-8859-8, hr_HR ISO-8859-2, ja_JP.EUC-JP EUC-JP, ja_JP.UTF-8 UTF-8, ru_RU ISO-8859-5, ru_RU.KOI8-R KOI8-R, ru_RU.UTF-8 UTF-8
------------------------------------------------------------------------

running debconf-show as root produces identical output without the
DbDriver warning.

It occurs to me that this bug may simply be a hangover from earlier
breakage, as I often do upgrades unattended, and this bug does _not_
pause the output.  To capture the error message I had to be there at
the right time and use an X selection to transfer it to my MUA.  Ie.

(1) locales-2.x.y; broken debconf puts comment text into locale.gen
(2) locales and/or debconf is fixed
(3) file is never rewritten because I don't change desired locales in
    preconfig
(4) every time I upgrade locales same breakage from unchanged file,
    but I don't see it because error scrolls past and I don't see it

If so I could test by hand-editing locale.gen and re-running, and/or
by respecifying the locales in the preconfig stage.  What are the
magic words to debconf to do this test without reinstalling?

-- 
Institute of Policy and Plan



Reply to: