Как видно из названия, в настоящее время я тяну свои волосы за ошибку зависимости на 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, а не версия, которую буквально все другие библиотеки хотят ...
Любые идеи, как исправить эту проклятую проблему, я ничего не могу найти в Интернете.
Установите 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. Я столкнулся с такой же проблемой. Получено, добавив xenial-updates и xenial-backports в список источников.
Установите 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. Я столкнулся с такой же проблемой. Получено, добавив xenial-updates и xenial-backports в список источников.