错误问题一:
默认安装的Debian,选择的apt-get源,默认的security.debian.org在国内会出现无法使用。
类似地址如下:
deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/debian/ squeeze main
这个时候,请检查 vim /etc/apt/sources.list 源地址
解决方法:
国内的服务器换一个 apt-get地址atch
国内快速的apt-get地址列表:
# vim /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 NETINST Binary-1 20120512-20:43]/ squeeze main
deb http://cdn.debian.net/debian/ squeeze main
deb-src http://cdn.debian.net/debian/ squeeze main
# squeeze-updates, previously known as 'volatile'
deb http://cdn.debian.net/debian/ squeeze-updates main
deb-src http://cdn.debian.net/debian/ squeeze-updates main
很快提示
Reading package lists... Done
结束
错误提示:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN:zh",
LC_ALL = (unset),
LANG = "zh_CN.UTF-8"
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