web-dev-qa-db-fra.com

Je ne peux pas installer ou supprimer des packages

J'ai essayé d'installer le paquet openoffice.org mais cela a donné une erreur. Maintenant, je ne peux pas réparer, enlever ou installer rien. Le centre logiciel de xubuntu fournit ce journal des erreurs. Rien ne semble résoudre ce problème. J'ai essayé apt-get install -f mais cela ne résout pas le problème non plus. Aucune suggestion?

installArchives() failed: (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 184189 files and directories currently installed.)
Unpacking libreoffice-common (from .../libreoffice-common_1%3a3.5.4-0ubuntu1.1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libreoffice-common_1%3a3.5.4-0ubuntu1.1_all.deb (--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package openoffice.org-debian-menus 3.2-9502
No apport report written because MaxReports is reached already
rmdir: erro ao remover /var/lib/libreoffice/share/prereg/: Ficheiro ou directoria inexistente
rmdir: erro ao remover /var/lib/libreoffice/share/: Directoria no vazia
rmdir: erro ao remover /var/lib/libreoffice/program/: Ficheiro ou directoria inexistente
rmdir: erro ao remover /var/lib/libreoffice: Directoria no vazia
rmdir: erro ao remover /var/lib/libreoffice: Directoria no vazia
Processing triggers for desktop-file-utils ...
Processing triggers for shared-mime-info ...
Processing triggers for gnome-icon-theme ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a3.5.4-0ubuntu1.1_all.deb
dpkg: dependency problems prevent configuration of libreoffice-Java-common:
 libreoffice-Java-common depends on libreoffice-common; however:
  Package libreoffice-common is not installed.
dpkg: error processing libreoffice-Java-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-filter-mobiledev:
 libreoffice-filter-mobiledev depends on libreoffice-Java-common; however:
  Package libreoffice-Java-common is not configured yet.
dpkg: error processing libreoffice-filter-mobiledev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-base:
 libreoffice-base depends on libreoffice-Java-common (>= 1:3.5.4~); however:
  Package libreoffice-Java-common is not configured yet.
dpkg: error processing libreoffice-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-core:
 libreoffice-core depends on libreoffice-common (>> 1:3.5.4); however:
  Package libreoffice-common is not installed.
dpkg: error processing libreoffice-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-style-human:
 libreoffice-style-human depends on libreoffice-core; however:
  Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-style-human (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-math:
 libreoffice-math depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1); however:
  Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-math (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-impress:
 libreoffice-impress depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1); however:
  Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-impress (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-style-tango:
 libreoffice-style-tango depends on libreoffice-core; however:
  Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-style-tango (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice:
 libreoffice depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1); however:
  Package libreoffice-core is not configured yet.
 libreoffice depends on libreoffice-impress; however:
  Package libreoffice-impress is not configured yet.
 libreoffice depends on libreoffice-math; however:
  Package libreoffice-math is not configured yet.
 libreoffice depends on libreoffice-base; however:
  Package libreoffice-base is not configured yet.
 libreoffice depends on libreoffice-filter-mobiledev; however:
  Package libreoffice-filter-mobiledev is not configured yet.
 libreoffice depends on libreoffice-Java-common (>= 1:3.5.4~); however:
  Package libreoffice-Java-common is not configured yet.
dpkg: error processing libreoffice (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-writer:
 libreoffice-writer depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1); however:
  Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-writer (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mythes-en-us:
 mythes-en-us depends on libreoffice-core | openoffice.org-core (>= 1.9) | language-support-writing-en; however:
  Package libreoffice-core is not configured yet.
  Package openoffice.org-core is not installed.
  Package language-support-writing-en is not installed.
dpkg: error processing mythes-en-us (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-help-zh-cn:
 libreoffice-help-zh-cn depends on libreoffice-writer | language-support-translations-zh; however:
  Package libreoffice-writer is not configured yet.
  Package language-support-translations-zh is not installed.
dpkg: error processing libreoffice-help-zh-cn (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-base-core:
 libreoffice-base-core depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1); however:
  Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-base-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-gnome:
 libreoffice-gnome depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1); however:
  Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-gnome (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-help-pt-br:
 libreoffice-help-pt-br depends on libreoffice-writer | language-support-translations-pt; however:
  Package libreoffice-writer is not configured yet.
  Package language-support-translations-pt is not installed.
dpkg: error processing libreoffice-help-pt-br (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-emailmerge:
 libreoffice-emailmerge depends on libreoffice-core; however:
  Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-emailmerge (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-help-en-gb:
 libreoffice-help-en-gb depends on libreoffice-writer | language-support-translations-en; however:
  Package libreoffice-writer is not configured yet.
  Package language-support-translations-en is not installed.
dpkg: error processing libreoffice-help-en-gb (--configure):
 dependency problems - leaving unconfigured
1
Nuno

Pour résoudre ce problème, vous pouvez:
1-use synaptic et supprimez complètement les paquets cassés, puis réinstallez
2-essayez la commande

Sudo dpkg --configure -a

alors essaye

Sudo apt-get install -f

2
user61928

Essaye ça. Type de terminal ouvert

 Sudo apt-get update 
 Sudo apt-get install -f 
 Sudo apt-get autoremove 
 Sudo apt-get clean 
 root @ nuno-P5KC: ~ # Sudo apt-get install -f 
 Un peu plus que de simples listes de mots ... Prochain 
 Une construction complexe 
 En savoir plus sur les ... Pronto 
 Une corrigir dependências ... Feito 
 Il y a des années à faire pour que ce soit automatiquement et automatiquement: 
 Linux-headers-3.2. 0-29-generic linux-headers-3.2.0-29 
 Utilise le suppresseur de para-os "apt-get autoremove". 
 Encore une fois, installez-vous: 
 
 Pacotes sugeridos: 
 Libreoffice-style-hicontrast libreoffice-style-crystal libreoffice-style-oxygen 
 Instalados os seguintes NOVOS pacotes: 
 Libreoffice-common 
 0 actualisations, 1 actualisations, 0 personnes déplacées et 8 actualités. 
 24 évaluations non cumulées ou remises. 
 Nécessaire plus de 20,9 MB d'arrière-plans. ____.] À propos de nous, nous avons besoin de 52,7 MB d'adicionais de espaço em disco. 
 Deseja continuar [Y/n]? 
 Obter: 1 http://pt.archive.ubuntu.com/ubuntu/ precise-updates/main libreoffice-common all 1: 3.5.4-0ubuntu1.1 [20,9 MB] 
 Obtidos 20,9 MB em 10s (1944 ko/s) 
 (Une base de données de ... 184189 fiche et informations actuelles.) 
 Une liste de fichiers de bureau libre (commune). ../libreoffice-common_1%3a3.5.4-0ubuntu1.1_all.deb) ... 
 dpkg: erro ao processar /var/cache/apt/archives/libreoffice-common_1%3a3.5.4-0ubuntu1.1_all .deb (--unpack): 
 une liste de diffusion '/ usr/bin/soffice', qui n'est pas un logiciel ouvert openoffice.org-debian-menus 3.2-9502 
 ao remover "/ var/lib/libreoffice/share/prereg /": Fiche ou directeuria inexistente 
 rmdir: erro ao remover "/ var/lib/libreoffice/share /": Directoria não vazia 
 rmdir: erro ao remover "/ var/lib/libreoffice/programme /": Ficheiro ou directoria inexis tente 
 rmdir: erro ao remover "/ var/lib/libreoffice": Directoria não vazia 
 rmdir: erro ao remover "/ var/lib/libreoffice": Directoria não vazia 
 Un processus 'déclenche' pour les fichiers de bureau ... 
 Un processus 'déclenche' pour shared-mime-info ... 
 Un processus 'déclenche' pour gnome-icon-theme. .. 
 Un processus "déclenche" pour hicolor-icon-theme ... 
 Un processus "déclenche" pour man-db ... 
. Foram encontrados erros enquanto processava: 
 /var/cache/apt/archives/libreoffice-common_1%3a3.5.4-0ubuntu1.1_all.deb
E: Le sous-processus/usr/bin/dpkg a renvoyé un code d'erreur (1) 
 
2
Ketan Patel