comando sudo apt-get não encontrado [duplicado]

0

Eu não posso executar o apt-get update ou qualquer coisa envolve o comando apt-get. Eu tentei o dpkg --configure -a e é isso que ele disse.

root@lxoric-AOD270:/home/lxoric# sudo dpkg --configure -a
Setting up google-chrome-stable (38.0.2125.122-1) ...
dpkg: error processing package google-chrome-stable (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up update-notifier-common (0.154.1ubuntu1) ...
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 28, in <module>
import apt
  File "/usr/lib/python2.7/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
  ImportError: /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12: invalid ELF header
  dpkg: error processing package update-notifier-common (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for menu (2.1.46ubuntu1) ...
  In file "/usr/share/menu/libreoffice-impress", at (or in the definition that ends at) line 18:
  [Desktop Entry]
          ^
  Unexpected end of line.
  Skipping file because of errors...
  /usr/share/menu/ixconn_config: 1: /usr/share/menu/ixconn_config: Syntax error: word unexpected (expecting ")")
  /usr/share/menu/ixconn_folder: 1: /usr/share/menu/ixconn_folder: Syntax error: word unexpected (expecting ")")
  /usr/share/menu/ixconn: 1: /usr/share/menu/ixconn: Syntax error: word unexpected  (expecting ")")
  In file "/usr/share/menu/libreoffice-calc", at (or in the definition that ends at) line 2:
  ~\ekVL    I٤��{S�9<f��}QL�Nm���@)�%8���
                                     ^
  Unexpected end of line.
  Skipping file because of errors...
  In file "/usr/share/menu/libreoffice-calc", at (or in the definition that ends at) line 1:
  command=" META-INF/��PPK��dEMETA-INF/MANIFEST.MFE�M
                                                         �0D������m-j�G{�"      icon="" needs="PK" package="libreoffice-calc" sectio" title=""
     ^
  Expected: """
  install-menu: /etc/menu-methods/openbox: aborting
  update-menus[15714]: Script /etc/menu-methods/openbox returned error status 1.
  Errors were encountered while processing:
   google-chrome-stable
   update-notifier-common
  root@lxoric-AOD270:/home/lxoric# 
    
por Ravin Deil Torres 16.11.2014 / 04:40

1 resposta

0

Iniciar (Gerenciador de Pacotes Synaptic), digite-apt - na caixa de pesquisa rápida, na lista que você verá, clique com o botão direito e escolha (Marcar para instalação) e clique no botão Aplicar no topo. já instalado, escolha (Marcar para remoção completa) e clique no botão Aplicar, após a remoção completa, você precisa reinstalar o sistema apt e reiniciar.

    
por jim frederick 16.11.2014 / 17:42

Tags