Cannot Install Openjdk 7
Tofloor
poster avatar
arahman
deepin
2016-08-09 17:53
Author
I am getting following errors while installing open jdk 7 on deepin 15.2

$ sudo apt-get install openjdk-7-jdk

The following packages have unmet dependencies:
openjdk-7-jdk : Depends: openjdk-7-jre (= 7u95-2.6.4-1+b1)
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install openjdk-7-jre

The following packages have unmet dependencies:
openjdk-7-jre : Depends: openjdk-7-jre-headless (= 7u95-2.6.4-1+b1)
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install openjdk-7-jre-headless
The following packages have unmet dependencies:
openjdk-7-jre-headless : Depends: tzdata-java but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install tzdata-java
The following packages have unmet dependencies:
tzdata-java : Depends: tzdata (= 2016c-0+deb8u1) but 2016d-2 is to be installed
E: Unable to correct problems, you have held broken packages.


Reply Favorite View the author
All Replies
jingle
deepin
2016-08-09 18:47
#1
open jdk 7 no longer maintained upstream, if necessary,it is best to install  open jdk 8
Reply View the author
arahman
deepin
2016-08-09 19:11
#2
Thanks jingle. Actually I am running a server on my old machine running Linux mint 15. I am unable to install openjdk 8 on that machine. Now I have two options:
1. Upgrade the old machine by installing Ubuntu 16.04. (Have to stop server and also risk of data loss)
2. Switch development machine from Deepin to Ubuntu 16.04 (Openjdk 7 is still supported)
I have just started using Deepin and I don't want to switch back to Ubuntu. Is there some other way out?
Reply View the author
zhangshuang
deepin
2016-08-09 23:26
#3
debian  sid can't support  openjdk-7-jdk,but debian experimental support openjdk-7-jdk,so you can add it to try
ex : http://ftp.uk.debian.org/debian  experimental  main non-free contrib
Reply View the author
arahman
deepin
2016-08-10 04:05
#4
Added new line in sources.list
deb http://ftp.uk.debian.org/debian  experimental  main non-free contrib

run sudo apt-get update.

Still no luck
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG