首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >redis安装:不支持的地区设置

redis安装:不支持的地区设置
EN

Ask Ubuntu用户
提问于 2013-09-30 15:21:05
回答 1查看 2.4K关注 0票数 1

我正在尝试安装redis 就像这里。但是,何时make,获得错误不支持的地区设置:

代码语言:javascript
复制
# make
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.3
Python version: 3.3.1 final 0
Distributor ID: Ubuntu
Description:    Ubuntu 13.04
Release:    13.04
Codename:   raring
Exception information:

unsupported locale setting
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
    callback()
  File "/usr/lib/command-not-found", line 69, in main
    enable_i18n()
  File "/usr/lib/command-not-found", line 40, in enable_i18n
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.3/locale.py", line 541, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2013-09-30 15:25:17

安装所有的本地人

代码语言:javascript
复制
sudo apt-get install language-pack-id

然后配置

代码语言:javascript
复制
sudo dpkg-reconfigure locales

然后再试一次。

好的,手动配置它们。

逐个粘贴这些行

代码语言:javascript
复制
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
票数 5
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/351905

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档