[linux] Linux Disk Cache & Java Programma

Frans van Berckel fberckel op xs4all.nl
Vr Feb 23 13:17:40 CET 2018


On Thu, 2018-02-22 at 23:49 +0100, lnx wrote:
> Hallo Frans (& Daniel),
> On 22/02/18 22:52, Frans van Berckel wrote:
> > Hoi Fred,
> 
> <knip>
> 
> > # apt-get install openjdk-8-jdk-headless
> 
> $ sudo apt-get install openjdk-8-jdk-headless
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package openjdk-8-jdk-headless
> 
> $ apt-cache search openjdk-8-jdk-headless
> 
> Niet te vinden!

Dat is helder. Leuk, de vraag in welke repo staat java?

> $ grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/*
> deb https://packages.cisofy.com/community/lynis/deb/ jessie main
> deb http://mirror.netcologne.de/linuxmint/packages betsy main
> upstream
> import
> deb http://ftp.nl.debian.org/debian/ jessie main
> deb http://ftp.nl.debian.org/debian/ jessie-updates main
> deb http://security.debian.org/ jessie/updates main
> deb http://www.deb-multimedia.org jessie main
> deb http://extra.linuxmint.com betsy main
> deb http://deb.torproject.org/torproject.org jessie main

A-ha, zou je daar jessie-backports bij willen zetten?

deb http://ftp.nl.debian.org/debian/ jessie-backports main

$ sudo nano /etc/apt/sources.list
$ sudo apt-get update
$ sudo apt-cache search openjdk-8-jdk-headless
$ sudo apt-get install openjdk-8-jdk-headless

Met vriendelijke groet,


-- 
Frans van Berckel
Media Engineer / Linux Master
LinkedIn: https://www.linkedin.com/in/fransvberckel/


Meer informatie over de Linux maillijst