error fixE: Package 'oracle-java8-installer' has no installation candidate

Posted hayley111

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error fixE: Package 'oracle-java8-installer' has no installation candidate相关的知识,希望对你有一定的参考价值。

问题:安装oracle-java8-installer按照如下指南失败:
How To Install Java with Apt-Get on Ubuntu 16.04[https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04]
解决:

sudo add-apt-repository ppa:ts.sch.gr/ppa
sudo apt-get update
sudo apt-get install oracle-java8-installer


以上是关于error fixE: Package 'oracle-java8-installer' has no installation candidate的主要内容,如果未能解决你的问题,请参考以下文章

R安装package报ERROR: a 'NAMESPACE' file is required

Error:(108) No resource identifier found for attribute 'style' in package 'android'(

Failed to import package with error: Couldn't decompress package的解决方案

[rospack] Error: package 'loitor_stereo_visensor' not found

Install fail! Error: [xlsx@0.8.1] Can't find package xlsx's version: 0.8.1

Error in library(e1071) : there is no package called 'e1071'