Depois de remover o libglib2.0 e o fpc não pode instalá-lo de volta e não pode instalar outros pacotes e dependências

0

Entrada:

sudo apt-get -f install

Saída:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
12 not fully installed or removed.
Need to get 0 B/1 378 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package libglib2.0-dev (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of libgdk-pixbuf2.0-dev:
 libgdk-pixbuf2.0-dev depends on libglib2.0-dev (>= 2.37.6); however:
  Package libglib2.0-dev is not configured yet.

dpkg: error processing package libgdk-pixbuf2.0-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libcairo2-dev:
 libcairo2-dev depends on libglib2.0-dev; however:
  Package libglib2.0-dev is not configured yet.

dpkg: error processing package libcairo2-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpango1.0-dev:
 libpango1.0-dev depends on libcairo2-dev (>= 1.12.10); however:
  Package libcairo2-dev is not configured yet.
 libpango1.0-dev depends on libglib2.0-dev (>= 2.34.0); however:
  Package libglib2.0-dev is not configured yet.

dpkg: error processing package libpango1.0-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libatk1.0-dev:
 libatk1.0-dev depends on libglib2.0-dev (>= 2.31.2); however:
  Package libglib2.0-dev is not configured yet.

dpkg: error processing package libatk1.0-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-dev:
 libgtk2.0-dev depends on libglib2.0-dev (>= 2.27.3); however:
  Package libglib2.0-dev is not configured yet.
 libgtk2.0-dev depends on libgdk-pixbuf2.0-dev (>= 2.21.0); however:
  Package libgdk-pixbuf2.0-dev is not configured yet.
 libgtk2.0-dev depends on libpango1.0-dev (>= 1.20); however:
  Package libpango1.0-dev is not configured yet.
 libgtk2.0-dev depends on libatk1.0-dev (>= 1.29.2); however:
  Package libatk1.0-dev is not configured yet.
 libgtk2.0-dev depends on libcairo2-dev (>= 1.6.4-6.1); however:
  Package libcairo2-dev is not configured yet.

dpkg: error processing package libgtk2.0-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fp-units-gtk2-3.0.0:
 fp-units-gtk2-3.0.0 depends on libgtk2.0-dev; however:
  Package libgtk2.0-dev is not configured yet.

dpkg: error processing package fp-units-gtk2-3.0.0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fpc-3.0.0:
 fpc-3.0.0 depends on fp-units-gtk2-3.0.0 (>= 3.0.0+dfsg-2); however:
  Package fp-units-gtk2-3.0.0 is not configured yet.

dpkg: error processing package fpc-3.0.0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fpc:
 fpc depends on fpc-3.0.0 (= 3.0.0+dfsg-2); however:
  Package fpc-3.0.0 is not configured yet.

dpkg: error processing package fpc (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpulse-dev:amd64:
 libpulse-dev:amd64 depends on libglib2.0-dev; however:
  Package libglib2.0-dev is not configured yet.

dpkg: error processing package libpulse-dev:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsdl1.2-dev:
 libsdl1.2-dev depends on libpulse-dev; however:
  Package libpulse-dev:amd64 is not configured yet.

dpkg: error processing package libsdl1.2-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsdl-mixer1.2-dev:amd64:
 libsdl-mixer1.2-dev:amd64 depends on libsdl1.2-dev (>= 1.2.14~); however:
  Package libsdl1.2-dev is not configured yet.

dpkg: error processing package libsdl-mixer1.2-dev:amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libglib2.0-dev
 libgdk-pixbuf2.0-dev
 libcairo2-dev
 libpango1.0-dev
 libatk1.0-dev
 libgtk2.0-dev
 fp-units-gtk2-3.0.0
 fpc-3.0.0
 fpc
 libpulse-dev:amd64
 libsdl1.2-dev
 libsdl-mixer1.2-dev:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por user635698 10.02.2017 / 17:06

1 resposta

0

A primeira parte da mensagem de erro informa a razão e o que fazer:

erro processando o pacote libglib2.0-dev (--configure):  o pacote está em um estado inconsistente muito ruim ; você deve   reinstale antes de tentar configurar

Tudo o resto é uma consequência do acima. libglib2.0-dev é uma dependência para os outros pacotes.

Reinstale libglib2.0-dev :

sudo apt-get install --reinstall libglib2.0-dev
    
por user589808 12.02.2017 / 05:20