perl: warning: Setting locale failed. Falling back to a fallback locale (“en_HK.UTF-8“).
1. 问题描述
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:LANGUAGE = "en_HK:en",LC_ALL = (unset),LC_TIME = "zh_CN.UTF-8",LC_MONETARY = "zh_CN.UTF-8",LC_ADDRESS = "zh_CN.UTF-8",LC_TELEPHONE = "zh_CN.UTF-8",LC_NAME = "zh_CN.UTF-8",LC_MEASUREMENT = "zh_CN.UTF-8",LC_IDENTIFICATION = "zh_CN.UTF-8",LC_NUMERIC = "zh_CN.UTF-8",LC_PAPER = "zh_CN.UTF-8",LANG = "en_HK.UTF-8"are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_HK.UTF-8").
update-initramfs: Generating /boot/initrd.img-4.4.0-186-generic
^C
2. 解决方案
2.1 第一种方法
sudo apt-get install locales-all
2.2 第二种方法
vi ~/.bashrc
export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8source ~/.bashrc
查看是否正常
locale
perl: warning: Setting locale failed. Falling back to a fallback locale (“en_HK.UTF-8“).相关推荐
- Warning: preg_match(): Compilation failed: PCRE does not support
运行一下上面这段代码,看会有什么提示信息? Warning: preg_match(): Compilation failed: PCRE does not support \L, \l, \N, \ ...
- resource id 3 php,PHP Warning: stat(): stat failed for Resource id
问题:代码 执行结果: PHP Warning: stat(): stat failed for Resource id #5 修改: <?php $file = fopen("css ...
- Warning: post-commit hook failed (exit code 255) with no output.
常见问题 1. Warning: post-commit hook failed (exit code 255) with no output. 如果执行提交时SVN提示255错误,则是 post-c ...
- 成功解决Fit Failed Warning: Estimator fit failed. The score on this train-test partition for these param
成功解决Fit Failed Warning: Estimator fit failed. The score on this train-test partition for these param ...
- [ warning] [vmusr:vmtoolsd] Failed registration of app type 2 (Signals)
在我的5.1的虚拟机上,日志中总是提示以下错误,5.0版本的我没有遇到过,这个我装了5.1版本的虚拟机以后报的错误,在国外网站上找到了解决方法,告诉我们可以在C:\Documents and Sett ...
- R中Warning message:Computation failed in stat_stratum():could not find function “default_missing“
R中画图报Warning message: Computation failed in stat_stratum(): could not find function "default_mi ...
- linux开机dracut界面_CentOS启动报错dracut Warning: Boot has failed的解决方法
CentOS无法启动,启动分区无法找到,然后就报了个堆栈信息: ACPI: wmi: Mapper loaded dracut Warning: No root device "block: ...
- python locale模块_使用python2.X的locale模块格式化数字和货币
任务是以一种支持区域设置的方式将数字.货币金额和日期格式化为unicode字符串.在 第一次天真的数字尝试给了我们希望:Python 2.7 (r27:82525, Jul 4 2010, 09:01 ...
- 完美解决React 注册模块报错Missing message: “menu.xxx“ for locale: “zh-CN“, using default message as fallback问题
完美解决React 注册模块报错Missing message: "menu.xxx" for locale: "zh-CN", using default m ...
最新文章
- Hadoop实践之Python(一)
- linux按进程分配物理内存,linux下内存管理学习心得(一)
- 学术不端网查重靠谱吗_毕业论文查重把知网上的英文文章翻译成中文可以吗
- div border-radius
- Tomcat的类加载器
- 洞察设计模式的底层逻辑
- 模型计算量(FLOPs)和参数量(Params)的理解
- LG深化与苹果合作,扩大向苹果供应OLED
- “我在B站有套房”成真:云蹦迪、不停学还健身
- spark java.lang.StackOverflowError
- 常用网络通信协议结构图
- android studio javah命令,Android Studio 配置 javah 和 ndk-build 快捷编译
- cad中拖动文字时卡顿_cad移动图时卡顿 - 卡饭网
- 【网络设备】单臂路由和STP配置及理论
- vs2015使用教程
- 【分享帖】国内主流网络信息采集和页面数据抓取工具盘点
- matlab表格数据输入方式,matlab输入excel表格数据-matlab怎么把数据写入excel
- 案例答疑:如何评估项目的价值?
- TUP:分享产品背后的技术和用户体验
- 【RAII】RAII 技术(内存安全解决技术/自动化解锁技术)
热门文章
- RPC 笔记(08)— socket 通信(多进程多线程服务器)
- Ubuntu16.04 pip3 install 报错 working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
- leetcode 438. Find All Anagrams in a String 滑动窗口法
- 业余时间用哪里,哪里就有发展的可能
- 【Sql Server】DateBase-连接查询
- TensorRT简介
- 逗号分隔的字符串转换为Python中的列表 split
- TENSORFLOW变量作用域(VARIABLE SCOPE)
- 王道考研 计算机网络笔记 第一章:概述计算机网络体系结构
- 激光雷达激烈竞争市场