I am trying to build model of apollo/apolloauto which throws this error.
I have already followed Oracle-Java8-Installer: No installation candidate
sudo apt-get install oracle-java8-installer which gives
$ sudo apt-get install oracle-java8-installer Reading package lists... Done Building dependency tree Reading state information... Done oracle-java8-installer is already the newest version (8u131-1~webupd8~2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
oracle-java8-installer is already installed then also it throws error 'oracle-java8-installer' has no installation candidate
Package oracle-java8-installer is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'oracle-java8-installer' has no installation candidate The command '/bin/sh -c bash /tmp/installers/install_bazel.sh' returned a non-zero code: 100