it-roy-ru.com

Я не могу установить или удалить пакеты

Я попытался установить пакет openoffice.org, но он выдал ошибку. Теперь я не могу ничего починить, удалить или установить. Программный центр xubuntu выдает этот журнал ошибок. Ничто не может решить эту проблему. Я попытался apt-get install -f, но это тоже не решает проблему. Какие-либо предложения?

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

Чтобы решить это, вы можете:
1-использовать synaptic и полностью удалить сломанные пакеты, затем переустановить
2-попробуйте команду

Sudo dpkg --configure -a

тогда попробуй

Sudo apt-get install -f

2
user61928

Попробуй это. Открытый тип терминала

 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 
 Список как pacotes ... Pronto 
 Конструктивный анализ 
 Более подробная информация ... Pronto 
 В зависимости от ситуации ... Feito 
 Сегменты пакетов для автоматической установки и поддержки: 
 Linux-headers-3.2. 0-29-generic linux-headers-3.2.0-29 
 Используйте утилиту для удаления "apt-get autoremove". 
 Os seguintes pacotes extra serão instalados: 
 Libreoffice-common 
 Pacotes sugeridos: 
 Libreoffice-style-hicontrast libreoffice-style-crystal-libreoffice-style-oxygen 
 Серые установочные файлы NOVOS pacotes: 
 Libreoffice-common 
 0 pacotes actualizados, 1 pacotes novos instalados, 0 a remover e 8 não actualizados. 
 24 pacotes não totalmente instalados ou Removeidos. 
 É Необходимое значение 20,9 МБ для получения. 
 Após esta operação, serão utilizados 52,7 MB adicionais de espaço em дискотека. 
 Deseja Continar [Да/Нет]? 
 Obter: 1 http://pt.archive.ubuntu.com/ubuntu/ precision-updates/main libreoffice-common all 1: 3.5.4-0ubuntu1.1 [20,9 МБ] 
 Obtidos 20,9 МБ em 10s (1944 кБ/с) 
 (A base a dados ... 184189 ficheiros e directórios actualmente instalados.) 
 Бескомпактный libreoffice-common (desde. ../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): 
 tentar sobre-escrever '/ usr/bin/soffice', que também est no no pacote openoffice.org-debian-menus 3.2-9502 
 rmdir: erro ao remover "/ var/lib/libreoffice/share/prereg /": Ficheiro ou Directoria unsistente 
 rmdir: erro ao remover "/ var/lib/libreoffice/share /": Directoria não vazia 
 rmdir: erro ao remover "/ var/lib/libreoffice/program /": Ficheiro или директория tente 
 rmdir: ошибка удаления "/ var/lib/libreoffice": Directoria nao vazia 
 rmdir: ошибка удаления "/ var/lib/libreoffice": Directoria naz vazia 
 Процессор 'запускает' para desktop-file-utils ... 
 Процессор 'запускает' para shared-mime-info ... 
 Процессор 'запускает' para gnome-icon-theme. .. 
 Процессор 'запускает' para hicolor-icon-theme ... 
 Процессор 'запускает' para man-db ... 
 Foram encontrados erros enquanto processava: 
 /var/cache/apt/archives/libreoffice-common_1%3a3.5.4-0ubuntu1.1_all.deb
E: Подпроцесс/usr/bin/dpkg вернул код ошибки (1) 
 
2
Ketan Patel