alvin612 发表于 2005-8-23 01:14:47

when "apt-get upgrade"

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
      LANGUAGE = (unset),
      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
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
Setting up passwd (4.0.3-39) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
      LANGUAGE = (unset),
      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
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing passwd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
passwd
E: Sub-process /usr/bin/dpkg returned an error code (1)

goodboy1881 发表于 2005-8-23 10:15:23

喷,我以为这样的事情只有我才能遇到,你首先重新生成locale,然后
apt-get -f install
看看问题是不是得到了解决,我觉得这个问题确实非常的恶心。。。

alvin612 发表于 2005-8-23 10:36:20

我是菜鸟,怎样重新生成locale呢?

喷,我以为这样的事情只有我才能遇到,你首先重新生成locale,然后
apt-get -f install
看看问题是不是得到了解决,我觉得这个问题确实非常的恶心。。。

用什么命令?

goodboy1881 发表于 2005-8-23 12:49:33

http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=126867&highlight=locale
页: [1]
查看完整版本: when "apt-get upgrade"