[SOLVED] E: Sub-process /usr/bin/dpkg returned an error code (2)

Started by xe-non, August 02, 2016, 02:48:50 PM

Previous topic - Next topic

xe-non

BOY@luxuriousness:~$ sudo apt-get -f install
[sudo] password for ebony:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
 esound-common libaudiofile1 libesd0 libgdata13 libpostproc52 libsvga1
 python-gtksourceview2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
 libc-bin
The following NEW packages will be installed
 libc-bin
0 to upgrade, 1 to newly install, 0 to remove and 10 not to upgrade.
Need to get 0 B/1,165 kB of archives.
After this operation, 3,518 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
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.
Updating BackBox console menu ...
E: Sub-process /usr/bin/dpkg returned an error code (2)
BOY@luxuriousness:~$

ZEROF


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*