I have a problem. I open the SYNAPTIC PACKAGE MANAGER and an error message appear and show me that there is a BROKEN PACKAGE on my system. I am going to FIX IT on Terminal by typing 'sudo apt-get install -f
' and Terminal show me:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
libc6-dev
0 upgraded, 0 newly installed, 1 to remove and 172 not upgraded.
1 not fully installed or removed.
After this operation, 13.7MB disk space will be freed.
Do you want to continue? [Y/n]? Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE: = (unset),
LC_ALL = (unset),
LANG = "el_GR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C")
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)
Synaptic Package Manager
itself? What was the problem? It did not work?sudo apt-get update
,sudo apt-get dist-upgrade
andsudo apt-get upgrade
one by one all whether they pass or fail.