Bug#210301: locales 2.3.2-6 won't configure
At Wed, 17 Sep 2003 18:53:12 +0200,
Daniel Verite wrote:
> Steve Doerr <sdoerr@swbell.net> wrote:
>
> > locales in the unstable distro won't seem to configure for me, but the
> > error doesn't offer anything as to what it's failing on. I tried to
> > move locale.gen out of the way, but it doesn't make a difference.
>
> I had a similar problem with 2.3.2-7 and tracked it down to
> a recent change in /usr/sbin/locale-gen
>
> The 'unset POSIXLY_CORRECT' statement generates an error if
> POSIXLY_CORRECT is not defined and then the script exits
> immediately (it exits because set -e is in effect).
>
> The end result is that 'dpkg --configure locales' fails.
>
> Try to edit this script, remove the set -e statement, rerun the configure
> part and see how it goes (that did it for me).
>
> The correct fix would probably be to unset the variable only if it's
> set.
Which shell do you use as /bin/sh ?
BTW, this bug is easily fixed with your way or use /bin/bash.
Regards,
-- gotom
Reply to: