Okay, I just install Ubuntu (the LXDE version, which is Lubuntu) and everytime I try to install a package through the terminal with the "Apt-get install" command, this error pops up:
E: Unmet dependencies. Try 'apt-get -f install' with no packages
And, yes this is for every package i try to install. When I do apt-get -f install
this is the terminal output I receive:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc-bin
The following NEW packages will be installed:
libc-bin
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/1,168 kB of archives.
After this operation, 3,532 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
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
E: Sub-process /usr/bin/dpkg returned an error code (2)
Could someone please help me? I just started using linux 2 months ago, and switched to Lubuntu.
sudo echo $PATH
? – chaos Jul 23 '14 at 09:10/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
– user287536 Jul 23 '14 at 09:14