Saya mengalami kesalahan gconf2 ketika menginstal beberapa paket, apa yang harus saya lakukan?


15

Saya mendapatkan kesalahan ini ketika menginstal beberapa perangkat lunak:

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)

Harap perbarui pertanyaan dengan bagian yang relevan dari /var/log/apt/term.log. Ini harus berisi pesan kesalahan yang memicu status keluar kesalahan.
lgarzo

Jawaban:


8

Di linux mint, saya memecahkan masalah melalui pertama:

sudo dpkg --configure -a

kemudian:

sudo apt-get upgrade

Bekerja Man saya harus menggunakan mint setelah 2 tahun dengan Arch dan kesalahan ini muncul. Mint seharusnya menjadi yang termudah dari semuanya .. Terima kasih
coderDude

7

Tekan saja satu perintah di terminal untuk memperbaiki masalah itu:

sudo apt --fix-broken install

Dan masalahnya akan terpecahkan.


7

Bunyinya

Package gconf2 is not configured yet.

Sudahkah Anda mencoba sudo dpkg-reconfigure gconf2? Jika itu tidak berhasil, coba sudo apt-get remove --purge gconf2 && sudo apt-get install gconf2.


Ini memecahkan masalahsudo apt-get remove --purge gconf2
Typewar

1

Dua perintah ini dapat memperbaiki beberapa masalah manajemen paket:

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

2
Selamat Datang di Tanya Ubuntu ! ;-) Bisakah Anda jelaskan jawaban Anda tentang mengapa dan bagaimana ini akan membantu? Seperti ada, jawaban Anda kemungkinan akan dihapus karena tidak jelas.
Fabby

-1

Ini kesalahan I / O! Hard disk Anda rusak. Gunakan perintah dmesgdan periksa apakah log kernel menunjukkan kesalahan Input / Output di hard disk. Kemudian periksa Sistem File dengan menjalankan fsck.ext4 /dev/sda1, dan instal ulang paket yang berisi file:

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: beli hard drive baru!


Apa $package1dan $package2? Apa artinya 'PD'?
wjandrea

Ini tidak benar dan tidak ada bukti hard drive yang gagal.
Mark Carpenter Jr
Dengan menggunakan situs kami, Anda mengakui telah membaca dan memahami Kebijakan Cookie dan Kebijakan Privasi kami.
Licensed under cc by-sa 3.0 with attribution required.