Ubuntu 16.04 Невозможно установить libvirt-bin из-за ошибок зависимости

Как видно из названия, в настоящее время я тяну свои волосы за ошибку зависимости на libvirt-bin. Мне нужно настроить KVM для Android Emulation (учиться создавать приложения для него), и я не могу установить libvirt-bin для установки на всю жизнь. Вот вывод терминала, в том числе я пытаюсь спуститься в кроличью дырку зависимого:

kyle@kyle-EP43-UD3L:~$ sudo apt -f install libvirt-bin ubuntu-vm-builder bridge-utils 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: libvirt-bin : Depends: libnetcf1 (>= 1:0.2.2) but it is not going to be installed E: Unable to correct problems, you have held broken packages. kyle@kyle-EP43-UD3L:~$ sudo apt install netcf 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: netcf : Depends: libnetcf1 (= 1:0.2.8-1ubuntu1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. kyle@kyle-EP43-UD3L:~$ sudo apt install libnetcf1 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: libnetcf1 : Depends: libnl-route-3-200 (>= 3.2.7) but it is not going to be installed E: Unable to correct problems, you have held broken packages. kyle@kyle-EP43-UD3L:~$ sudo apt install libnl-route-3-200 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: libnl-route-3-200 : Depends: libnl-3-200 (= 3.2.27-1) but 3.2.27-1ubuntu0.16.04.1 is to be installed E: Unable to correct problems, you have held broken packages. kyle@kyle-EP43-UD3L:~$ sudo apt install libnl-3-200 Reading package lists... Done Building dependency tree Reading state information... Done libnl-3-200 is already the newest version (3.2.27-1ubuntu0.16.04.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

В принципе, опустив список зависимостей, которые не будут установлены, похоже, из-за lbnl-3 -200 - это версия ubuntu, а не версия, которую буквально все другие библиотеки хотят ...

Любые идеи, как исправить эту проклятую проблему, я ничего не могу найти в Интернете.

0
задан 9 January 2018 в 14:22

4 ответа

Установите libvirt-bin следующим образом:

Загрузите libnl-route-3-200. Теперь аналогично загрузите libnetcf1 и libvirt-bin. В терминале измените рабочий каталог на каталог загрузки и запустите команды: sudo dpkg -i libnl-route-3-200_3.2.27-1ubuntu0.16.04.1_amd64.deb libnetcf1_0.2.8-1ubuntu1_amd64.deb libvirt-bin_1.3.1-1ubuntu10_amd64.deb Используйте sudo systemctl restart libvirt-bin.service для перезапуска службы. Используйте sudo systemctl status libvirt-bin.service, чтобы увидеть статус libvirt.
1
ответ дан 18 July 2018 в 08:05

Я столкнулся с такой же проблемой. Получено, добавив xenial-updates и xenial-backports в список источников.

-1
ответ дан 18 July 2018 в 08:05

Установите libvirt-bin следующим образом:

Загрузите libnl-route-3-200. Теперь аналогично загрузите libnetcf1 и libvirt-bin. В терминале измените рабочий каталог на каталог загрузки и запустите команды: sudo dpkg -i libnl-route-3-200_3.2.27-1ubuntu0.16.04.1_amd64.deb libnetcf1_0.2.8-1ubuntu1_amd64.deb libvirt-bin_1.3.1-1ubuntu10_amd64.deb Используйте sudo systemctl restart libvirt-bin.service для перезапуска службы. Используйте sudo systemctl status libvirt-bin.service, чтобы увидеть статус libvirt.
1
ответ дан 24 July 2018 в 18:59

Я столкнулся с такой же проблемой. Получено, добавив xenial-updates и xenial-backports в список источников.

-1
ответ дан 24 July 2018 в 18:59
  • 1
    Можете ли вы изменить этот ответ, чтобы развернуть его с объяснением, как это сделать? – Eliah Kagan 27 August 2017 в 23:27

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

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