Ubuntu 16.04 Não é possível instalar o libvirt-bin devido a erros de dependência

0

Como o título sugere, atualmente estou puxando meu cabelo por causa de um erro de dependência no libvirt-bin. Eu preciso disso para configurar o KVM for Android Emulation (aprender a fazer aplicativos para ele) e não consigo instalar o libvirt-bin para a vida de mim. Aqui está a saída do terminal, incluindo-me tentando ir para o buraco de coelho de dependência:

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.
Basicamente, descendo a lista de dependências que não serão instaladas, parece ser por causa do lbnl-3-200 ser uma versão do Ubuntu não a versão que literalmente todas as outras bibliotecas querem ...

Qualquer ideia de como corrigir esse problema, não consigo encontrar nada on-line.

    
por user1979117 23.08.2017 / 02:18

2 respostas

1

Instale libvirt-bin seguindo as etapas abaixo:

  1. Faça o download de libnl-route-3-200 .

  2. Agora faça o download similar libnetcf1 e libvirt-bin . Em um terminal, altere o diretório de trabalho para o diretório de download e execute os comandos:

    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
    
  3. Use sudo systemctl restart libvirt-bin.service para reiniciar o serviço.

  4. Use sudo systemctl status libvirt-bin.service para ver o status libvirt .

por SurajBhor 09.01.2018 / 11:06
-1

Eu enfrentei o mesmo problema. Foi resolvido adicionando xenial-updates e xenial-backports à lista de fontes.

    
por subhash 27.08.2017 / 16:49