web-dev-qa-db-fra.com

Comment puis-je résoudre les problèmes de dépendance de dpkg?

$ Sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up unity-2d-common (5.12.0-0ubuntu1.1) ...

(gconftool-2:13920): GConf-WARNING **: Failed to load source "xml:merged:/tmp/gconf-pfTj8n/gconf": Failed: Could not make directory `/tmp/gconf-pfTj8n/gconf': Permission denied
**
GConf:ERROR:gconftool.c:969:main: assertion failed: (err == NULL)
dpkg: error processing unity-2d-common (--configure):
 subprocess installed post-installation script returned error exit status 250
dpkg: dependency problems prevent configuration of unity-2d-panel:
 unity-2d-panel depends on unity-2d-common (= 5.12.0-0ubuntu1.1); however:
  Package unity-2d-common is not configured yet.
dpkg: error processing unity-2d-panel (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of unity-2d-spread:
 unity-2d-spread depends on unity-2d-common (= 5.12.0-0ubuntu1.1); however:
  Package unity-2d-common is not configured yet.
dpkg: error processing unity-2d-spread (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of unity-2d-Shell:
 unity-2d-Shell depends on unity-2d-common (= 5.12.0-0ubuntu1.1); however:
  Package unity-2d-common is not configured yet.
dpkg: error processing unity-2d-Shell (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of unity-2d:
 unity-2d depends on unity-2d-panel; however:
  Package unity-2d-panel is not cNo 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
                                                 No apport report written because MaxReports is reached already
                               No apport report written because MaxReports is reached already
             No apport report written because MaxReports is reached already
                                                                           onfigured yet.
 unity-2d depends on unity-2d-spread; however:
  Package unity-2d-spread is not configured yet.
 unity-2d depends on unity-2d-Shell; however:
  Package unity-2d-Shell is not configured yet.
dpkg: error processing unity-2d (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of unity-2d-launcher:
 unity-2d-launcher depends on unity-2d-Shell; however:
  Package unity-2d-Shell is not configured yet.
dpkg: error processing unity-2d-launcher (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of unity-2d-places:
 unity-2d-places depends on unity-2d-Shell; however:
  Package unity-2d-Shell is not configured yet.
dpkg: error processing unity-2d-places (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of unity-2d-dbg:
 unity-2d-dbg depends on unity-2d (= 5.12.0-0ubuntu1.1); however:
  Package unity-2d is not configured yet.
dpkg: error processing unity-2d-dbg (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 unity-2d-common
 unity-2d-panel
 unity-2d-spread
 unity-2d-Shell
 unity-2d
 unity-2d-launcher
 unity-2d-places
 unity-2d-dbg
E: Sub-process /usr/bin/dpkg returned an error code (1)

J'ai beaucoup essayé et ça ne fonctionne pas. Je pense que j'ai interrompu une installation et que ça a tout gâché. J'ai googlé et essayé divers correctifs.

3
HungryMan

Essaye ça. Appuyez sur Ctrl-Alt-F1 pour passer à un terminal (vous pouvez revenir à votre bureau avec Ctrl-Alt-F7). Connectez-vous et tapez:

  • Sudo apt-get remove unity-3d-common unity-2d-panel unity-2d-spread unity-2d-Shell

Puis:

  • Sudo apt-get update && Sudo apt-get upgrade

Si cela ne fonctionne pas, modifiez votre question à l'aide du résultat de cette commande: dpkg --list | grep unity

6
ish