Erro para atualizar e instalar "apt-get"

jcastrojcastro Juliano
Pessoal sou um pouco novato com linux. Utilizo ao 1 ano mais menos. Nunca tive problemas, mas agora não sei oque devo fazer.
Qualquer atualização que tento fazer ocorre erro. Dei uma pesquisada pelo forum, e nenhuma dos casos parecidos resolveu meu problema. Agradeço desde já :-)
Dei um apt-get upgrade para mostrar o erro, segue:

jcastro # sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
11 not fully installed or removed.
Need to get 0 B/769 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: error processing dpkg-dev (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
dpkg: dependency problems prevent configuration of debhelper:
debhelper depends on dpkg-dev (>= 1.16.2); however:
Package dpkg-dev is not configured yet.

dpkg: error processing debhelper (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of alien:
alien depends on debhelper (>= 7); however:
Package debhelper is not configured yet.
alien depends on dpkg-dev; however:
Package dpkg-dev is not configured yet.

dpkg: error processing alien (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-core:
lsb-core depends on alien (>= 8.36); however:
Package alien is not configured yet.

dpkg: error processing lsb-core (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-graphics:
lsb-graphics depends on lsb-core (>= 4.1+Debian11ubuntu4); however:
Package lsb-core is not configured yet.

dpkg: error processing lsb-graphics (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-cxx:
lsb-cxx depends on lsb-core (>= 4.1+Debian11ubuntu4); however:
Package lsb-core is not configured yet.

dpkg: error processing lsb-cxx (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-multimedia:
lsb-multimedia depends on lsb-core (>= 4.1+Debian11ubuntu4); however:
Package lsb-core is not configured yet.

dpkg: error processing lsb-multimedia (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-desktop:
lsb-desktop depends on lsb-graphics (>= 4.1+Debian11ubuntu4); however:
Package lsb-graphics is not configured yet.
lsb-desktop depends on lsb-multimedia (>= 4.1+Debian11ubuntu4); however:
Package lsb-multimedia is not configured yet.

dpkg: error processing lsb-desktop (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-printing:
lsb-printing depends on lsb-core (>= 4.1+Debian11ubuntu4); however:
Package lsb-core is not configured yet.

dpkg: error processing lsb-printing (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-languages:
lsb-languages depends on lsb-core (>= 4.1+Debian11ubuntu4); however:
Package lsb-core is not configured yet.

dpkg: error processing lsb-languages (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb:
lsb depends on lsb-core (>= 4.1+Debian11ubuntu4); however:
Package lsb-core is not configured yet.
lsb depends on lsb-graphics (>= 4.1+Debian11ubuntu4); however:
Package lsb-graphics is not configured yet.
lsb depends on lsb-cxx (>= 4.1+Debian11ubuntu4); however:
Package lsb-cxx is not configured yet.
lsb depends on lsb-desktop (>= 4.1+Debian11ubuntu4); however:
Package lsb-desktop is not configured yet.
lsb depends on lsb-printing (>= 4.1+Debian11ubuntu4); however:
Package lsb-printing is not configured yet.
lsb depends on lsb-languages (>= 4.1+Debian11ubuntu4); however:
Package lsb-languages is not configured yet.

dpkg: error processing lsb (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
dpkg-dev
debhelper
alien
lsb-core
lsb-graphics
lsb-cxx
lsb-multimedia
lsb-desktop
lsb-printing
lsb-languages
lsb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Comentários

  • alexzaggoalexzaggo Alex Zaggo
    editado abril 2014
    Tente esses comandos.

    sudo su

    digite sua senha, e depois os comandos..

    sudo apt-get -f install
    sudo apt-get autoremove
    sudo dpkg --configure -a

    e depois tenta atualizar com os comandos

    sudo apt-get update

    sudo apt-get dist-upgrade.
  • editado abril 2014
    Tente as dicas do link abaixo e veja se resolve:
    [url=http://blogdocreto.xtrweb.com/blog/?p=29]http://blogdocreto.xtrweb.com/blog/?p=29[/url]
  • editado abril 2014
    Faça o seguinte: abra o terminal e execute os dois comandos abaixo, um de cada vez (copie e cole para não haver erro):
    [code]sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get -f install ; sudo apt-get clean ; sudo apt-get update[/code]
    [code]sudo apt-get upgrade[/code]

    Se não resolver, copie e cole as respostas do sistema aqui no tópico para que possamos analisar melhor o caso.
  • alexzaggoalexzaggo Alex Zaggo
    editado abril 2014
    [url=http://ubuntuforums.org/showthread.php?t=2194425]leia aqui[/url]
Entre ou Registre-se para fazer um comentário.