Problemas na instalação do bazel

0

Estou tentando instalar o yum no meu ubuntu vm (Virtualbox no Windows 10). Parece simples. Quando eu corro:

jeff@ubuntuvm:~/Downloads$ sudo apt-get install yum
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 bazel : Depends: google-jdk but it is not installable or
                  java8-jdk but it is not installable or
                  java8-sdk or
                  oracle-java8-installer but it is not installable
 yum : Depends: python-libxml2 but it is not going to be installed
       Depends: python-lzma but it is not going to be installed
       Depends: python-rpm but it is not going to be installed
       Depends: python-sqlite but it is not going to be installed
       Depends: python-sqlitecachec but it is not going to be installed
       Depends: python-urlgrabber but it is not going to be installed
       Depends: rpm (>= 4.4.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Então eu tento resolver uma dependência instalando o bazel. As instruções no site dizem que eu deveria começar com as dependências do bazel. Bem, ok:

jeff@ubuntuvm:~/Downloads$ sudo apt-get install openjdk-8-jdk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 openjdk-8-jdk : Depends: openjdk-8-jre (= 8u151-b12-0ubuntu0.16.04.2) but it is not going to be installed
                 Depends: openjdk-8-jdk-headless (= 8u151-b12-0ubuntu0.16.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Drat, e o mesmo acontece quando tento fazer as outras dependências. Tentei instalar o java por si só, mas não consegui resolver essa dependência. Executar o comando -f não faz nada.

Alguém poderia me ajudar? Obrigado.

    
por Jeff 17.11.2017 / 05:32

0 respostas