Как разрешить неудовлетворенные зависимости для установки libreoffice-*
Я использую оригинальный /etc/apt/sources.list
Я не хотел устанавливать ppa/libreoffice, так как многие из них вешают GUI.
Я пробовал эти шаги и не работает.
$ sudo apt-get clean
$ sudo apt-get purge libreoffice*
$ sudo rm /var/lib/apt/lists/*
$ sudo rm /var/lib/apt/lists/partial/*
$ sudo apt-get update
$ sudo apt-get -f install libreoffice-calc libreoffice-writer libreoffice-impress
И вот какой пакет я хочу установить.
$ sudo apt-get install libreoffice-calc libreoffice-writer libreoffice-impress
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libreoffice-calc : Depends: libreoffice-base-core (= 1:4.2.8-0ubuntu5.1) but it is not going to be installed
Depends: libreoffice-core (= 1:4.2.8-0ubuntu5.1) but it is not going to be installed
libreoffice-impress : Depends: libreoffice-core (= 1:4.2.8-0ubuntu5.1) but it is not going to be installed
Depends: libreoffice-draw (= 1:4.2.8-0ubuntu5.1) but it is not going to be installed
Recommends: libreoffice-avmedia-backend-gstreamer but it is not going to be installed
libreoffice-writer : Depends: libreoffice-base-core (= 1:4.2.8-0ubuntu5.1) but it is not going to be installed
Depends: libreoffice-core (= 1:4.2.8-0ubuntu5.1) but it is not going to be installed
Recommends: libreoffice-math but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
1 ответ
libreoffice - это офисный пакет, отдельные программы имеют взаимозависимость на бэкэндах. пытаться sudo apt-get install libreoffice
чтобы получить весь набор