Как я могу установить приложение Telegram в 18.04?

Когда я пытаюсь установить Telegram, я получаю следующую ошибку:

itsmarttricks@mangesh:~$ sudo apt-get install telegram
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:6.2.2) but it is not going to be installed
 libreoffice-java-common : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
 libreoffice-report-builder : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
 libreoffice-script-provider-bsh : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
 libreoffice-script-provider-js : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
 libreoffice-script-provider-python : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
 libreoffice-style-colibre : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
 libreoffice-style-elementary : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
 libreoffice-style-tango : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
5
задан 5 May 2019 в 11:56

1 ответ

Похоже, у вас установлен LibreOffice, но каким-то образом удалось прервать его установку. Чтобы исправить это, попробуйте:

sudo apt-mark auto libreoffice-common

Если у вас есть старая версия apt-get (я думаю, до 11. что-то - задолго до версии Ubuntu 18.04), и это не работает попробуйте вместо этого:

sudo apt-get markauto libreoffice-common

, а затем немедленно обновите менеджер пакетов.

После выполнения одной из этих команд выполните:

sudo apt install

(я думаю.)

0
ответ дан 5 May 2019 в 11:56

Другие вопросы по тегам:

Похожие вопросы: