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

Re: locale problem when setting up a chroot using debootstrap



Thanks a lot. I was trying to find something like that using dpkg -l and apt-cache search, but obviously missed it.

Cheers,

andy

Kevin Ross wrote:
-----Original Message-----
From: andy baxter [mailto:andy@earthsong.free-online.co.uk] Sent: Sunday, August 16, 2009 2:28 PM
To: debian-user@lists.debian.org
Subject: locale problem when setting up a chroot using debootstrap

I'm setting up a chroot using debootstrap, eventually for use with user mode linux. I have got it mostly working ok, but when I install some packages (e.g. mc), there are a load of errors which seem to be to do with locales. Perl (I think) is saying something like check that the right locale is installed for the language code you have configured (en-GB). (Its hard at the moment to give the exact error message because it's on another machine and that filesystem has just died so I'll have to rebuild it before I can reproduce the error). Is there some package I need to install inside the chroot?

Thanks,

andy baxter

You need the "locales" package, which may not be automatically installed by
debootstrap.  If it is installed, simply running "dpkg-reconfigure locales"
should be enough to make the messages go away.

Hope this helps!
-- Kevin




Reply to: