dpkg código de erro (1) desinstalando um pacote

0

Ocorreu um erro ao instalar um programa e o processo está incompleto.

Eu tentei removê-lo usando o seguinte comando:

sudo apt-get purge realvnc-vnc-server 

Então, isso me dá isso:

apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = "en_US.UTF-8",
    LC_TIME = "es_EC.UTF-8",
    LC_MONETARY = "es_EC.UTF-8",
    LC_ADDRESS = "es_EC.UTF-8",
    LC_TELEPHONE = "es_EC.UTF-8",
    LC_NAME = "es_EC.UTF-8",
    LC_MEASUREMENT = "es_EC.UTF-8",
    LC_IDENTIFICATION = "es_EC.UTF-8",
    LC_NUMERIC = "es_EC.UTF-8",
    LC_PAPER = "es_EC.UTF-8",
    LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
dpkg: error processing package realvnc-vnc-server (--remove):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
Errors were encountered while processing:
 realvnc-vnc-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Espero que alguém possa me ajudar a corrigir isso e instalá-lo novamente.

    
por Juan Daniel Torres 28.11.2017 / 06:58

0 respostas