今天安装texmacs的时候出现如下错误
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: `ldconfig' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
再ubuntu论坛里找到如下解决方法。
先去下载lib6-bin的deb包,
然后
# dpkg-deb -x lib6-bin* /usr/sbin
# dpkg -i lib6-bin*
解决完成。