首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu14.04-由于地区原因,命令没有找到崩溃

Ubuntu14.04-由于地区原因,命令没有找到崩溃
EN

Server Fault用户
提问于 2016-01-09 04:38:36
回答 2查看 776关注 0票数 1

当我输入错误的命令时,命令就会崩溃:

代码语言:javascript
复制
root@stack1:~# fubar
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.4.3 final 0
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:   trusty
Exception information:

'locale' codec can't decode byte 0xc3 in position 12: Invalid or incomplete multibyte or wide character
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 72, in main
    enable_i18n()
  File "/usr/lib/command-not-found", line 41, in enable_i18n
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.4/locale.py", line 592, in setlocale
    return _setlocale(category, locale)
UnicodeDecodeError: 'locale' codec can't decode byte 0xc3 in position 12: Invalid or incomplete multibyte or wide character

我该怎么解决这个问题?

EN

回答 2

Server Fault用户

发布于 2016-01-09 05:05:43

很可能是本地化问题。

解决问题的适当步骤包含在错误消息中。在提供的URL上向Ubuntu团队提交一个bug。

票数 0
EN

Server Fault用户

发布于 2016-01-09 09:38:21

您的一个.mo文件似乎被损坏了。运行dpkg --list |grep language-pack-并检查安装了哪些地区包,然后用apt-get --reinstal install ...重新安装/更新它们。首先运行apt-get update可能会有帮助。

还检查您的文件系统是否可能出现其他损坏。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/747816

复制
相关文章

相似问题

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