Como consertar esses pacotes quebrados?

-8

Depois que vi uma mensagem de erro no painel, eu corri sudo apt-get -f install , o que me deu a saída abaixo. Obviamente, menciona alguns problemas. Como posso consertar isso?

sai@Blu-Sky:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  bluez-cups printer-driver-gutenprint printer-driver-splix ubuntu-minimal
0 upgraded, 0 newly installed, 4 to remove and 39 not upgraded.
6 not fully installed or removed.
After this operation, 1250 kB 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 = "en_IN:en",
    LC_ALL = (unset),
    LANG = "en_IN"
    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: 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)
    
por sai shankar 14.10.2016 / 15:21

1 resposta

0

Abra um terminal e insira o seguinte:

sudo aptitude install language-pack-en

sudo aptitude install locales
    
por syedmokhtar 07.11.2016 / 10:54