|
楼主 |
发表于 2007-11-25 22:47:30
|
显示全部楼层
Post by lincomet;1787551
第一个问题可能比较复杂,你先看看 dpkg --list |grep python-central 和 dpkg --list |grep python-apt,是不是已经正确配置。如果没有,可以重新配置一下。
问题二,是你的区域设置的问题。试试通过dpkg-reconfigure locale,设置locale为zh_CN.UTF-8,如果没有这个选项,可以先安装language-support-zh。
照着打的。
1
$sudo dpkg --list | grep python-central
ii python-central 0.5.15ubuntu2
register and build utility for Python packag
$sudo dpkg --list | grep python-apt
ii python-apt 0.7.3.1ubuntu4
Python interface to libapt-pkg
2
$sudo dpkg-reconfigure locale
perl:warning:Setting locale failed.
perl:warninglease check that your locale settings:
LANGUAGE="zh_CN:zh:en_US:en",
LC_ALL=(unset),
LANG="zh_CN,UTF-8"
are supported and installed on your system.
perl:warning:Falling back to the standard locale ("C").
local:Cannot set LC_ALL to default locale: No such file or directory
Package 'locale' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locale is not installed
a.设置locale为zh_CN.UTF-8,如何做?
b.网络不好,明天试apt-get install language-support-zh |
|