国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 系統(tǒng) > Ubuntu > 正文

關(guān)于ubuntu上執(zhí)行錯(cuò)誤命令報(bào)錯(cuò)

2024-06-28 13:26:20
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
關(guān)于Ubuntu上執(zhí)行錯(cuò)誤命令報(bào)錯(cuò)

Sorry, command-not-found has crashed!

新安裝了一臺(tái)ubuntu server

安裝時(shí)用中文安裝的,之后命令行下各種亂碼,最后也不知道是修改哪里造成的

每次執(zhí)行一次錯(cuò)誤的命令就會(huì)報(bào)錯(cuò):(報(bào)錯(cuò)信息如下)

Sorry, command-not-found has crashed! Please file a bug report at:https://bugs.launchpad.net/command-not-found/+filebugPlease include the following information with the report:command-not-found version: 0.3Python version: 3.3.1 final 0Distributor ID: UbuntuDescription: Ubuntu 13.04Release: 13.04Codename: raringException information:unsupported locale settingTraceback (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

當(dāng)然后來(lái)安裝了zsh后解決了,但是vi里面中文還是顯示亂碼

google了下,說(shuō)是編碼有問題

解決方法

bash下執(zhí)行命令:

export LANGUAGE=en_US.UTF-8export LANG=en_US.UTF-8export LC_ALL=en_US.UTF-8sudo locale-gen en_US.UTF-8sudo dpkg-reconfigure locales解決!


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 绿春县| 银川市| 长岛县| 定兴县| 行唐县| 桃园市| 民勤县| 兴义市| 息烽县| 瓦房店市| 定西市| 宾川县| 同德县| 辽宁省| 和龙市| 桐梓县| 曲松县| 石林| 荔波县| 托克逊县| 岳普湖县| 五家渠市| 罗平县| 铁岭市| 德保县| 沛县| 湘乡市| 竹北市| 宣城市| 繁峙县| 锡林浩特市| 墨脱县| 顺昌县| 乌苏市| 泽普县| 洛川县| 揭阳市| 富锦市| 老河口市| 白山市| 宜州市|