[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing Java 8 on a Google Compute Debian (Jessie) instance



James H. H. Lampert wrote:

>> 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.
> 
> which is what I was getting before.

from my experience you need then to do apt-get install  openjdk-8-jre
openjdk-8-jdk-headless and they will for sure pull in some dependencies,
which is why  openjdk-8-jdk does not install automatically.

just my 5cent


Reply to: