此特定实例是Bitnami SVN / Trac服务器,其中添加了Tomcat 8,并且独立于SVN和Trac随附的Apache服务器运行。
我尝试了给定的in this thread,,但没有成功。即使经过推荐
sudo apt-get install dirmngr
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
sudo apt-get update
sudo apt-get install openjdk-8-jdk -y --allow-unauthenticated
我仍然得到
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-jdk : Depends: openjdk-8-jre (= 8u171-b11-1~bpo8+1) but it is not going to be installed
Depends: openjdk-8-jdk-headless (= 8u171-b11-1~bpo8+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
这就是我以前得到的。
答案 0 :(得分:0)
只需从Debian列表中获得此信息即可:
apt-get install -t jessie-backports openjdk-8-jdk
有效。现在,我的包装盒上装有Java 8。
Debian列表发布者还质疑是否需要dirmngr等,并建议应避免使用--allow-unauthenticated。
有关详细信息,请参见Debian List archives。