Do not know why this twists and turns, a problem after one, if you also encounter problems, you can refer to the reference
Question 1:......has No installation andidate, resolved as follows (not understood):
Reference Https://askubuntu.com/questions/763494/trying-to-install-openjdk-package-openjdk-7-jre-has-no-installation-candidate
Question 2: There is another problem following the above step: ... you have held broken thepackage
The problem is that OPENJDK-7-JDK relies on OPENJDK-7-JRE, but I'm not pretending to OPENJDK-7-JRE, so the next step is to install Openjdk-7-jre
Endless, that's the problem.
The problem of the meaning of the solution is to remove the Tzdata, re-installed, here with apt-get command installed also error, do not know why, and then changed a more powerful function of the aptitude
Installing aptitudesudo apt
-
get install aptitude
Uninstalling Tzdata:aptitude Remove Tzdata
Then, yes, it is backwards to put back, this is I can think of stupid method, the effect is good
Aptitude Install Tzdata
Aptitude Install Tzdata-java
Aptitude Install Openjdk-7-jre-headless
Aptitude Install Openjdk-7-jre
Aptitude Install OPENJDK-7-JDK
Moved to cry, packed all day
Ubuntu 16.04.4 installation OpenJDK various problems