Encontrei um erro do gconf2 ao instalar alguns pacotes, o que devo fazer?

15

Eu recebi esse erro ao instalar algum software:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up gconf2 (3.2.0-0ubuntu1) ...
I/O warning : failed to load external entity "/usr/share/gconf/schemas/compiz-wobbly.schemas"
Failed to open `/usr/share/gconf/schemas/compiz-wobbly.schemas': No such file or directory
I/O warning : failed to load external entity "/usr/share/gconf/schemas/gwd.schemas"
Failed to open `/usr/share/gconf/schemas/gwd.schemas': No such file or directory
dpkg: error processing gconf2 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mutter-common:
 mutter-common depends on gconf2 (>= 2.28.1-2); however:
  Package gconf2 is not configured yet.
dpkg: error processing mutter-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libmutter0:
 libmutter0 depends on mutter-common (>= 3.2); however:
  Package mutter-common is not configured yet.
 libmutter0 depends on mutter-common (<< 3.3); however:
  Package mutter-common is not configured yet.
dpkg: error processing libmutter0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gir1.2-mutter-3.0:
 gir1.2-mutter-3.0 depends on libmutter0 (>= 3.1.92); however:
  Package libmutter0 is not configured yet.
dpkg: error processing gir1.2-mutter-3.0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-shell:
 gnome-shell depends on gir1.2-mutter-3.0; hNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                      No apport report written because the error message indicates its a followup error from a previous failure.
                No apport report written because MaxReports is reached already
                                                                              No apport report written because MaxReports is reached already
                                                            owever:
  Package gir1.2-mutter-3.0 is not configured yet.
 gnome-shell depends on libmutter0 (>= 3.2.1); however:
  Package libmutter0 is not configured yet.
 gnome-shell depends on gconf2 (>= 2.28.1-2); however:
  Package gconf2 is not configured yet.
dpkg: error processing gnome-shell (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gconf2
 mutter-common
 libmutter0
 gir1.2-mutter-3.0
 gnome-shell
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ravi Sharan
fonte
Atualize a pergunta com a parte relevante de /var/log/apt/term.log. Isso deve conter a mensagem de erro que acionou o status de saída de erro.
Lgarzo

Respostas:

8

No linux mint, resolvi o problema primeiro:

sudo dpkg --configure -a

então:

sudo apt-get upgrade
Farshid
fonte
Trabalho. Cara, eu tive que usar hortelã depois de 2 anos com Arch e esse erro apareceu. Mint era suposto ser o mais fácil de todos .. Obrigado
coderDude
7

Basta pressionar um comando no terminal para corrigir esse problema:

sudo apt --fix-broken install

E o problema será resolvido.

Omkar Jadhav
fonte
7

Está dizendo

Package gconf2 is not configured yet.

Você já tentou sudo dpkg-reconfigure gconf2? Se isso não funcionar, tente sudo apt-get remove --purge gconf2 && sudo apt-get install gconf2.

earthmeLon
fonte
Isso resolveu o problemasudo apt-get remove --purge gconf2
Typewar
1

Esses dois comandos podem corrigir alguns problemas de gerenciamento de pacotes:

sudo dpkg --configure -a
sudo apt-get install -f
awdawd
fonte
2
Bem-vindo ao Ask Ubuntu ! ;-) Você poderia elaborar sua resposta sobre o porquê e como isso ajudará? No estado atual, é provável que sua resposta seja excluída por não ser clara.
Fabby
-1

É um erro de E / S! Seu disco rígido está falhando. Use o comando dmesge verifique se o log do kernel mostra um erro de Entrada / Saída no disco rígido. Em seguida, verifique o sistema de arquivos executando fsck.ext4 /dev/sda1e reinstale o pacote que contém o arquivo:

apt-file search /usr/share/gconf/schemas/gwd.schemas
apt-file search /usr/share/gconf/schemas/compiz-wobbly.schemas 
apt-get install --reinstall $package1 $package2 

PS: compre um novo disco rígido!

Jorge Alejandro Ceresa
fonte
O que são $package1e $package2? 'PD' de quê?
Wjandrea 11/11
Isso não é verdade e não há evidências de falha no disco rígido.
Mark Carpenter Jr