Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #186786 > unrolled thread

OpenJDK 8 from jessie backports

Started byJohn Naggets <hostingnuggets@gmail.com>
First post2017-09-14 14:50 +0200
Last post2017-09-16 01:30 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  OpenJDK 8 from jessie backports John Naggets <hostingnuggets@gmail.com> - 2017-09-14 14:50 +0200
    Re: OpenJDK 8 from jessie backports Georgi Naplatanov <gosho@oles.biz> - 2017-09-14 15:20 +0200
      Re: OpenJDK 8 from jessie backports John Naggets <hostingnuggets@gmail.com> - 2017-09-14 15:50 +0200
        Re: OpenJDK 8 from jessie backports Liam O'Toole <liam.p.otoole@gmail.com> - 2017-09-16 01:30 +0200

#186786 — OpenJDK 8 from jessie backports

FromJohn Naggets <hostingnuggets@gmail.com>
Date2017-09-14 14:50 +0200
SubjectOpenJDK 8 from jessie backports
Message-ID<upBKF-55T-3@gated-at.bofh.it>
Hi,

I did the mistake of running an "apt-get dist-upgrade" on my Debian 8
machine which uses Debian backports in oder to have the OpenJDK 8
package. Now I am stuck by with the OpenJDK 7 from the Debian repo and
if I try to install OpenJDK 8 again I get the following error:

$ sudo 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 : Breaks: ca-certificates-java (< 20160321~)
but 20140324 is to be installed
E: Unable to correct problems, you have held broken packages.

Does anyone have an idea how I can get OpenJDK 8 from backports back?

Best,
John

[toc] | [next] | [standalone]


#186788

FromGeorgi Naplatanov <gosho@oles.biz>
Date2017-09-14 15:20 +0200
Message-ID<upCdH-5v8-1@gated-at.bofh.it>
In reply to#186786
On 09/14/2017 03:45 PM, John Naggets wrote:
> Hi,
> 
> I did the mistake of running an "apt-get dist-upgrade" on my Debian 8
> machine which uses Debian backports in oder to have the OpenJDK 8
> package. Now I am stuck by with the OpenJDK 7 from the Debian repo and
> if I try to install OpenJDK 8 again I get the following error:
> 
> $ sudo 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 : Breaks: ca-certificates-java (< 20160321~)
> but 20140324 is to be installed
> E: Unable to correct problems, you have held broken packages.
> 
> Does anyone have an idea how I can get OpenJDK 8 from backports back?

Hi John,

I had the same problem with Jessie and OpenJdk-8.

You have to install ca-certificates-java from backports too.

HTH

Kind regards
Georgi

[toc] | [prev] | [next] | [standalone]


#186789

FromJohn Naggets <hostingnuggets@gmail.com>
Date2017-09-14 15:50 +0200
Message-ID<upCGJ-5GI-3@gated-at.bofh.it>
In reply to#186788
Thanks Georgi you made my day! That worked like a charm.

On Thu, Sep 14, 2017 at 3:10 PM, Georgi Naplatanov <gosho@oles.biz> wrote:
> On 09/14/2017 03:45 PM, John Naggets wrote:
>> Hi,
>>
>> I did the mistake of running an "apt-get dist-upgrade" on my Debian 8
>> machine which uses Debian backports in oder to have the OpenJDK 8
>> package. Now I am stuck by with the OpenJDK 7 from the Debian repo and
>> if I try to install OpenJDK 8 again I get the following error:
>>
>> $ sudo 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 : Breaks: ca-certificates-java (< 20160321~)
>> but 20140324 is to be installed
>> E: Unable to correct problems, you have held broken packages.
>>
>> Does anyone have an idea how I can get OpenJDK 8 from backports back?
>
> Hi John,
>
> I had the same problem with Jessie and OpenJdk-8.
>
> You have to install ca-certificates-java from backports too.
>
> HTH
>
> Kind regards
> Georgi
>

[toc] | [prev] | [next] | [standalone]


#186881

FromLiam O'Toole <liam.p.otoole@gmail.com>
Date2017-09-16 01:30 +0200
Message-ID<uq8dz-1sW-5@gated-at.bofh.it>
In reply to#186789
On 2017-09-14, John Naggets <hostingnuggets@gmail.com> wrote:
> Thanks Georgi you made my day! That worked like a charm.
>
> On Thu, Sep 14, 2017 at 3:10 PM, Georgi Naplatanov <gosho@oles.biz> wrote:
>> On 09/14/2017 03:45 PM, John Naggets wrote:
>>> Hi,
>>>
>>> I did the mistake of running an "apt-get dist-upgrade" on my Debian 8
>>> machine which uses Debian backports in oder to have the OpenJDK 8
>>> package. Now I am stuck by with the OpenJDK 7 from the Debian repo and
>>> if I try to install OpenJDK 8 again I get the following error:
>>>
>>> $ sudo 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 : Breaks: ca-certificates-java (< 20160321~)
>>> but 20140324 is to be installed
>>> E: Unable to correct problems, you have held broken packages.
>>>
>>> Does anyone have an idea how I can get OpenJDK 8 from backports back?
>>
>> Hi John,
>>
>> I had the same problem with Jessie and OpenJdk-8.
>>
>> You have to install ca-certificates-java from backports too.
>>
>> HTH
>>
>> Kind regards
>> Georgi
>>

In general, the command

	apt-get -t jessie-backports install openjdk-8-jre-headless

should automatically resolve the dependencies for you.

-- 

Liam

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web