Modify

Opened 9 years ago

Closed 8 years ago

Last modified 6 years ago

#9 closed defect (fixed)

setting locale failed

Reported by: Richard Owned by: stappers
Priority: minor Milestone: milestone:
Component: debian/rootfs Version: 2.0
Severity: severity 4 Keywords:
Cc:

Description

While installing packages with apt-get, you get error on locale settings

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or
directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Attachments (0)

Change History (15)

comment:1 Changed 9 years ago by amain

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Geert Stappers <stappers@…>

Rumours say there is a workaround. Something like LANG=C ...

comment:3 Changed 9 years ago by Geert Stappers <stappers@…>

export LC_ALL=C

comment:4 Changed 9 years ago by amain

export LC_ALL=C is the correct workaround. I have been pondering whether or not to set the default locale of DebWrt to "C". I think I should do so.

comment:6 Changed 9 years ago by amain

  • Owner changed from amain to stappers@…
  • Status changed from accepted to assigned

comment:7 Changed 9 years ago by stappers

  • Owner changed from stappers@… to stappers
  • Priority changed from major to minor
  • Status changed from assigned to accepted

I see challenge in this ticket.

My interrest is that I want to have

set -o vi

in the .profile of root

However: low priority

Last edited 9 years ago by stappers (previous) (diff)

comment:8 follow-up: Changed 9 years ago by tomas@…

Hello,

There is no LC_* environment variables being set by default in debwrt (correct me if I'm wrong): they're being passed to the environment by sshd. Commenting out/removing the following line from /etc/sshd/sshd_config solves the problem as well:

AcceptEnv LANG LC_*

Regards.

comment:9 follow-up: Changed 9 years ago by stappers

Mmm, locales is not installed

aptitude install locales

and not configured

dpkg-reconfigure locales

It might be possible to automate the install during build.
However the configure does need user interaction.

Right now leaving the situation as it is:

  • no locales installed
  • locales not configured

The price for accentidently having configured all locales is too high.

comment:10 in reply to: ↑ 9 Changed 9 years ago by stappers

In other words:

The current solution / workaround is doing manually

aptitude install locales
dpkg-reconfigure locales

comment:11 Changed 9 years ago by stappers

Wiki page PostInstall does refer to this ticket.

That reference can be removed
if the aptitude install locales can be done at build time.

comment:12 Changed 9 years ago by stappers

Note about disk space

root@debwrt:~# aptitude install locales
The following NEW packages will be installed:
  locales 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 4757 kB of archives. After unpacking 13.1 MB will be used.

comment:13 in reply to: ↑ 8 Changed 9 years ago by stappers

Replying to tomas@…:

they're being passed to the environment by sshd

Yep.

Another way to avoid this error is login by telnet

comment:14 Changed 8 years ago by stappers

  • Resolution set to fixed
  • Severity set to severity 4
  • Status changed from accepted to closed

Documented in PostInstall

comment:15 Changed 6 years ago by Weeks

It is reported that, <a href="http://gagawatch.client.jp"><b>gaga 時計 レディース</b></a>

GAGA responsibility an eye to <a href="http://gagawatch.gejigeji.jp"><b>gagaミラノ</b></a>
15 December, with the all together the but hundred sites on-line starting at the still and all <a href="http://gagawatch.ganriki.net"><b>ガガミラノ 正規</b></a>

while, as the incredible's <a href="http://gagawatch.gejigeji.jp"><b>ガガミラノ 時計</b></a>

in front internet look after highlights of the central <a href="http://gagawatch.gejigeji.jp"><b>ミラノ 腕時計</b></a>
whip products, GAGA series includes a add up of ten models, <a href="http://gagawatch.ganriki.net"><b>ガガミラノ 価格com</b></a>
inclusive coverage of baleful, pink, yellow, pale-complexioned, mellifluent, rose gold six bigger mainstream color. <a href="http://gagawatch.gejigeji.jp"><b>時計 ガガ</b></a>
Championing the values bright and early being, in means with the "leather strap" and "clasp mesh conduct stridently" two kinds of tastefulness sophisticatedness, fully embodies the color and fashionableness of Brand with, so vogue elements below control. Meantime, Gaga keep a sharp lookout for <a href="http://gagawatch.gejigeji.jp"><b>ガガミラノ 時計 レディース</b></a>
also built nowadays mainstream America was expert Japanese Dweller 2035 quartz stir, and strengthening crystal glass mirror image of the <a href="http://gagawatch.amigasa.jp"><b>ガガミラノ 時計 価格</b></a>
lawsuit material, fully assure the spin-off's durability properties. <a href="http://gagawatch.amigasa.jp"><b>ガガミラノ 価格</b></a>
Lifetime on the chance of <a href="http://gagawatch.amigasa.jp"><b>ガガミラノ</b></a>
lone hundred on-line, with the "twofold egg" exposition,gagawatch.ashigaru.jp held a "Exalted Toe, on-line carnival, double-barrelled egg deferential" solid experience <a href="http://gagawatch.amigasa.jp"><b>ガガミラノ</b></a>
promotional activities during the unresolved, <a href="http://gagawatch.gejigeji.jp"><b>gaga 腕時計</b></a>

including the 180 series, including a hash of staples GAGA has powerful discount. Solemn Links: gagawatch.amigasa.jp

Add Comment

Modify Ticket

Action
as closed The owner will remain stappers.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.