无法安装Java8
apt-get install openjdk-8-jre-headless
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:
openjdk-8-jre-headless : Depends: ca-certificates-java but it is not going to be installed
E: Unable to correct problems, you have held broken packages
我已经搜索过Google,并添加了回购协议和其他建议,但是还没有任何东西允许我安装Java 8。
想法?
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8
Codename: jessie
1
在这里面临同样的问题。一直工作到昨天。今天,它最初抱怨ca-certificates-java,现在甚至找不到该软件包。
—
Jayachandran
只是很有趣,您为什么不想要安装oracle版本?
—
ka3ak
@ ka3ak什么是oracle安装版本?我尝试使用其中包含install和oracle的软件包进行apt-get安装,但是没有用。
—
杰森
@FrankThornton这是我在系统(Kubuntu)上的安装方式:sudo add-apt-repository ppa:webupd8team / java sudo apt-get update sudo apt-get install oracle-java8-installer来源:webupd8.org/2012/09 /…
—
ka3ak
谢谢!我非常确定我尝试过这种尝试,或者至少尝试过类似的尝试并且遇到了问题。我可能有不同的回购。
—
杰森