|
我是在gentoo的主系统下,通过debootstrap来安装debian,而且已经下载了sarge-i386-netinst.iso,加载这个文件到光驱,然后用
/usr/sbin/debootstrap --arch i386 sarge /mnt/debinst file:/mnt/cdrom/debian
然而在最后的解压包的过程中,经常出现这样的提示,说是无法设置locale
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "zh_CN.gbk",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Starting kernel log daemon: klogd
Warning: Fake start-stop-daemon called, doing nothing
但完成后还是可以用chroot进入到新系统,不过在用
# dpkg-reconfigure apt-get
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "zh_CN.gbk",
LANG = "en_US"
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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Package `apt-get' 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: apt-get is not installed
在安装过程中,应该怎么设置locale?在默认安装前还要设置什么吗? |
|