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)
/var/log/apt/term.log
. Ini harus berisi pesan kesalahan yang memicu status keluar kesalahan.Jawaban:
Di linux mint, saya memecahkan masalah melalui pertama:
kemudian:
sumber
Tekan saja satu perintah di terminal untuk memperbaiki masalah itu:
Dan masalahnya akan terpecahkan.
sumber
Bunyinya
Sudahkah Anda mencoba
sudo dpkg-reconfigure gconf2
? Jika itu tidak berhasil, cobasudo apt-get remove --purge gconf2 && sudo apt-get install gconf2
.sumber
sudo apt-get remove --purge gconf2
Dua perintah ini dapat memperbaiki beberapa masalah manajemen paket:
sumber
Ini kesalahan I / O! Hard disk Anda rusak. Gunakan perintah
dmesg
dan periksa apakah log kernel menunjukkan kesalahan Input / Output di hard disk. Kemudian periksa Sistem File dengan menjalankanfsck.ext4 /dev/sda1
, dan instal ulang paket yang berisi file:PS: beli hard drive baru!
sumber
$package1
dan$package2
? Apa artinya 'PD'?