Bug#200953: This is NOT fixed in 0.5.8
On Thu, Jul 31, 2003 at 01:40:06PM +0400, Nikita V. Youshchenko wrote:
> reopen 200953
> thanks
>
> apt-get 0.5.8 still has this bug.
> None of "Y", "y", "?", "?' is accepted as positive answer.
>
> nikita@zigzag:~> echo $LANG
> ru_RU.KOI8-R
>
> nikita@zigzag:~> apt-get install openoffice.org
> ?????? ??????? ???????... Done
> ?????????? ?????? ????????????... Done
> ????????? ?????????????? ?????? ????? ???????????:
> gcc-3.0-base libstdc++3 libstlport4.5c102 openoffice.org-bin
> openoffice.org-debian-files openoffice.org-l10n-en
> Suggested packages:
> openoffice.org-help ooqstart-gnome cupsys-bsd openoffice.org-help-en
> ????????? ????? ?????? ????? ???????????:
> gcc-3.0-base libstdc++3 libstlport4.5c102 openoffice.org
> openoffice.org-bin
> openoffice.org-debian-files openoffice.org-l10n-en
> 0 ??????? ?????????, 7 ????? ??????? ???????????, 0 ??????? ??? ???????? ?
> 13 ?? ?????????.
> ????? ??????? 49,4M? ???????.
> ????? ?????????? ????? ?????? 151M?.
> ?????? ??????????? [?/?] Y
> ????????? ??????????.
In that case, you are going to need to help diagnose the problem, because it
was not as I thought. Look at the YnPrompt() function in apt-get.cc. What
it does is to read one character from stdin, pass it through toupper() and
compare it to the translation of "Y" (which is now "Ä").
Does toupper() work as expected on your locale? Are your characters
multibyte?
I think this code should probably be changed to use nl_langinfo(YESEXPR)
instead of this translation hack. Can you tell me whether that method works
correctly with your locale?
--
- mdz
Reply to: