Bug#361091: locales fails to be installed - LANGUAGE vs LANG
On Thu, Apr 06, 2006 at 09:21:40PM +0200, Denis Barbier wrote:
> On Thu, Apr 06, 2006 at 10:31:45AM -0400, Joe Drew wrote:
> > Package: locales
> > Version: 2.3.6-5
> > Severity: serious
> >
> > Setting up locales (2.3.6-5) ...
> > Generating locales (this might take a while)...
> > en_CA.ISO-8859-1... done
> > ja_JP.UTF-8... done
> > ja_JP.EUC-JP... done
> > Generation complete.
> > *** update-locale: Error: LANGUAGE ("en_CA:en_US:en_GB:en") is not
> > compatible with LANG (en_CA)
> > dpkg: error processing locales (--configure):
> > subprocess post-installation script returned error exit status 9
> >
> > I don't see why my LANGUAGE wouldn't be compatible with LANG in this
> > case...
>
> It works if you replace
> LANGUAGE="en_CA:en_US:en_GB:en"
> by
> LANGUAGE=en_CA:en_US:en_GB:en
> in /etc/default/locale
I meant in /etc/environment, since update-locale aborts before moving
variables into /etc/default/locale.
Denis
Reply to: