问题:
我在centos6.6上,将我的python2.6.6升级到python2.79之后导致的问题连连不断。
首先是yum不能使用,已经解决: yum的运行是依赖python2.6.6的,只要保证# vim /usr/bin/yum
的python运行环境是python2.6.6的就ok了;
问题:中文输入法有问题,不出提示,于是我yum groupremove "Chinese-Support"然后重新安装yum groupinstall "Chinese-Support"
结果:出现包的依赖性问题!
[root@centos 6]# yum groupinstall "Chinese-Support"
Transaction Check Error:
file /usr/share/ibus-table/tables/erbi.db from install of ibus-table-erbi-1.2.0.20090901-8.el6.noarch conflicts with file from package ibus-table-chinese-erbi-1.4.6-1.el6.noarch
file /usr/share/ibus-table/tables/cangjie-big.db from install of ibus-table-cangjie-1.2.0.20100210-1.el6.noarch conflicts with file from package ibus-table-chinese-cangjie-1.4.6-1.el6.noarch
file /usr/share/ibus-table/tables/cangjie3.db from install of ibus-table-cangjie-1.2.0.20100210-1.el6.noarch conflicts with file from package ibus-table-chinese-cangjie-1.4.6-1.el6.noarch
file /usr/share/ibus-table/tables/cangjie5.db from install of ibus-table-cangjie-1.2.0.20100210-1.el6.noarch conflicts with file from packageibus-table-chinese-cangjie-1.4.6-1.el6.noarch
Error Summary
-------------
解决:删除之前的包重新安装!
# yum remove -yibus-table-chinese-erbi-1.4.6-1.el6.noarch ibus-table-cangjie-1.2.0.20100210-1.el6.noarch
# yum remove -y ibus-table-chinese-cangjie-1.4.6-1.el6.noarch
# yum groupupdate "Chinese-Support"
安装好yum groupupdate "Chinese-Support"之后,就可以使用中文输入法了;
新的问题:
终端乱码:是在我的centos6.6中打开终端,发现中文全是????号。
系统乱码:是打开centos6.6,界面中打开桌面上很多的中文文档发现都是乱码