昨天升级后出现的语言问题,大家来看下。

如何解决?

最后由 人在井天 编辑于 2011-04-01 10:10,总共编辑了 1 次

作者: 人在井天   发布时间: 2011-04-01

想在命令行下重新安装一下语言包,不知道是哪几个包?

作者: 人在井天   发布时间: 2011-04-01

另外,能够打汉字,但是,ibus设置却打不开.

作者: 人在井天   发布时间: 2011-04-01

重装语言包:

代码:
sudo apt-get --reinstall install gnome-user-guide-zh language-pack-zh-hans  openoffice.org-help-zh-cn  kde-l10n-zhcn language-pack-gnome-zh-hans  language-pack-kde-zh-hans  gnome-user-guide-zh openoffice.org-l10n-zh-cn language-support-input-zh-hans language-support-fonts-zh-hans language-pack-zh-hans language-pack-gnome-zh


过程中好象有错,命令结果如下:
代码:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  language-pack-gnome-zh
0 upgraded, 1 newly installed, 9 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/9257kB of archives.
After this operation, 32.8kB of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LANGUAGE = "zh_CN:en",
   LC_ALL = (unset),
   LC_MESSAGES = "zh_CN.UTF-8",
   LANG = "zh_CN"
    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_ALL to default locale: ?????????
(Reading database ... 199619 files and directories currently installed.)
Preparing to replace language-pack-gnome-zh-hans 1:10.10+20110315 (using .../language-pack-gnome-zh-hans_10.10+20110315_all.deb) ...
Unpacking replacement language-pack-gnome-zh-hans ...
Preparing to replace language-pack-kde-zh-hans 1:10.10+20110315 (using .../language-pack-kde-zh-hans_10.10+20110315_all.deb) ...
Unpacking replacement language-pack-kde-zh-hans ...
Preparing to replace language-pack-zh-hans 1:10.10+20110315 (using .../language-pack-zh-hans_10.10+20110315_all.deb) ...
Unpacking replacement language-pack-zh-hans ...
Preparing to replace gnome-user-guide-zh 2.30.0+git20100403ubuntu2 (using .../gnome-user-guide-zh_2.30.0+git20100403ubuntu2_all.deb) ...
Unpacking replacement gnome-user-guide-zh ...
Preparing to replace kde-l10n-zhcn 4:4.5.1-0ubuntu1 (using .../kde-l10n-zhcn_4.5.1-0ubuntu1_all.deb) ...
Unpacking replacement kde-l10n-zhcn ...
Selecting previously deselected package language-pack-gnome-zh.
Unpacking language-pack-gnome-zh (from .../language-pack-gnome-zh_1%3a10.04+20091218_all.deb) ...
Preparing to replace language-support-fonts-zh-hans 1:10.04+20091218 (using .../language-support-fonts-zh-hans_10.04+20091218_all.deb) ...
Unpacking replacement language-support-fonts-zh-hans ...
Preparing to replace language-support-input-zh-hans 1:10.04+20091218 (using .../language-support-input-zh-hans_10.04+20091218_all.deb) ...
Unpacking replacement language-support-input-zh-hans ...
Preparing to replace openoffice.org-help-zh-cn 1:3.2.1-6ubuntu1 (using .../openoffice.org-help-zh-cn_3.2.1-6ubuntu1_all.deb) ...
Unpacking replacement openoffice.org-help-zh-cn ...
Preparing to replace openoffice.org-l10n-zh-cn 1:3.2.1-6ubuntu1 (using .../openoffice.org-l10n-zh-cn_3.2.1-6ubuntu1_all.deb) ...
Unpacking replacement openoffice.org-l10n-zh-cn ...
Processing triggers for software-center ...

(process:2084): Gtk-WARNING **: Locale not supported by C library.
   Using the fallback 'C' locale.
WARNING:root:setlocale failed with 'unsupported locale setting'
Processing triggers for python-central ...
Setting up language-pack-gnome-zh-hans (1:10.10+20110315) ...
Setting up language-pack-kde-zh-hans (1:10.10+20110315) ...
Setting up language-pack-zh-hans (1:10.10+20110315) ...
Setting up gnome-user-guide-zh (2.30.0+git20100403ubuntu2) ...
Setting up kde-l10n-zhcn (4:4.5.1-0ubuntu1) ...
Setting up language-pack-gnome-zh (1:10.04+20091218) ...
Setting up language-support-fonts-zh-hans (1:10.04+20091218) ...
Setting up language-support-input-zh-hans (1:10.04+20091218) ...
Generating locales...
  zh_CN.UTF-8... up-to-date
  zh_SG.UTF-8... up-to-date
Generation complete.
Setting up openoffice.org-l10n-zh-cn (1:3.2.1-6ubuntu1) ...
Setting up openoffice.org-help-zh-cn (1:3.2.1-6ubuntu1) ...
Processing triggers for python-gmenu ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: ?????????
Rebuilding /usr/share/applications/desktop.zh_CN.utf8.cache...
WARNING: System locale is invalid
Processing triggers for python-support ...

作者: 人在井天   发布时间: 2011-04-01

在终端中查看目录,如果是中文目录则显示成了??了,不能显示中文.

作者: 人在井天   发布时间: 2011-04-01

仅升级长期支持的版本,这样稳定些。

作者: zhongjia   发布时间: 2011-04-01

zhongjia 写道:
仅升级长期支持的版本,这样稳定些。


对不起,不是升级,是更新.

作者: 人在井天   发布时间: 2011-04-01

跟楼主一样,刚才用google搜了一下,twitter上全在说这个事情,看来不是个例。
等待高手解决。

作者: tobefreecn   发布时间: 2011-04-01

tobefreecn 写道:
跟楼主一样,刚才用google搜了一下,twitter上全在说这个事情,看来不是个例。
等待高手解决。


我用的骨头源,不知你是不是也用的骨头源.

作者: 人在井天   发布时间: 2011-04-01

退出登录,在登录界面重新选中文进来就好了。

作者: e21   发布时间: 2011-04-01

现在惨了,桌面也进不了了。
原因是执行了命令:

代码:
sudo locale-gen
sudo locale-gen --purge


现在只能进文本界面 ,不知道如何通过命令或者是通过修改配置文件,使得能进得了桌面。

作者: 人在井天   发布时间: 2011-04-01

现在一阵乱输loclae-gen命令,总算是能进入桌面了.

但问题则在于,sudo locale-gen zh_CN_GB18030在桌面环境下,终端中输入,没有任何提示,而在文本界面中输入这个命令,命令不能完成.只能用ctrl+C结束.

作者: 人在井天   发布时间: 2011-04-01