web-dev-qa-db-ja.com

一部のパッケージのインストール中にgconf2エラーが発生しました。どうすればよいですか?

いくつかのソフトウェアをインストールするときにこのエラーが発生しました:

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)
11
Ravi Sharan

と言っています

Package gconf2 is not configured yet.

Sudo dpkg-reconfigure gconf2を試しましたか?それでもうまくいかない場合は、Sudo apt-get remove --purge gconf2 && Sudo apt-get install gconf2を試してください。

5
earthmeLon

Linuxミントでは、最初に問題を解決しました。

Sudo dpkg --configure -a

その後:

Sudo apt-get upgrade
4
Farshid

その問題を修正するには、ターミナルで1つのコマンドを押すだけです。

Sudo apt --fix-broken install

そして、問題は解決されます。

3
Omkar Jadhav

これらの2つのコマンドは、パッケージ管理の問題を修正できます。

Sudo dpkg --configure -a
Sudo apt-get install -f
1
awdawd

I/Oエラーです!ハードディスクが故障しています。コマンドdmesgを使用して、カーネルログにハードディスクの入出力エラーが表示されるかどうかを確認します。次に、fsck.ext4 /dev/sda1を実行してファイルシステムを確認し、ファイルを含むパッケージを再インストールします。

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 

PD:新しいドライブを購入してください!