Ubuntu 18.04.1 не может установить VirtualBox-6.0 [дубликат]

Я следую официальному руководству virtualbox Дистрибутивам Linux на основе Debian но кое-что неверно

osboxes@osboxes:~$ sudo apt-get install virtualbox-6.0
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:
 virtualbox-6.0 : Depends: libqt5x11extras5 (>= 5.6.0) but it is not installable
                  Recommends: libsdl-ttf2.0-0 but it is not installable
                  Recommends: pdf-viewer
E: Unable to correct problems, you have held broken packages.
0
задан 27 February 2019 в 07:40

1 ответ

Добавление некоторых репозиториев и установка недостающих зависимостей работали на меня:

sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib"
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libpng16-16 libqt5core5a libqt5printsupport5 libqt5widgets5 libqt5x11extras5
sudo apt-get install virtualbox-6.0

На основе этого ответа: Виртуальный Отказ Установки Поля 5.1.22

2
ответ дан 26 October 2019 в 12:50

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

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