无法执行“locale”:没有这样的文件或目录

无法执行“locale”:没有这样的文件或目录

我是 Linux 新手。今天我尝试通过 Steam 网站上的 .deb 在我的 Ubuntu 14.04 64 位上安装 Steam。启动时,Steam 给我以下错误:“您缺少以下 32 位库,Steam 可能无法运行:libc.so.6”我尝试按照网上的一些教程操作,当我再次找到它们时我会更新,并安装了一些不同的 32 位库。现在每次我尝试使用 apt-get 甚至打开软件中心时都会出现此错误。

installArchives() failed: Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
Error in function: 

我应该怎么办 ?

更新:

这是我遵循的安装,它在某一时刻产生了危险警告:

sudo apt-get install libc-bin:i386

答案1

我读了一篇文章并按照说明操作,我的问题已解决,所以你必须阅读它 - http://itsfoss.com/fix-exec-locale-file-directory/

相关内容