After some trouble I had with some packages yesterday, apt-get and aptitude now only show the following when I try to install new packages, upgrade etc.
"echo $PATH" and "sudo echo $PATH" both show me
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.
E: Sub-process /usr/bin/dpkg returned an error code (2)
mitja@cube:~$ printenv PATH
How can I fix this mess?