Problems with new A20 Olinuxino-Micro image and Open Java

Started by ylsantos, November 17, 2015, 10:55:22 PM

Previous topic - Next topic

ylsantos

Hi guys,

I am facing some problems with the new image released by Olimex a few days ago. The board I am using is A20-Olinuxino-MICRO with the latest debian, 'A20-OLinuXino-MICRO Debian Jessie with kernel 3.4.103+ release 11'.

I tried to install OpenJava 7 and 8 (jdk), but it didn't work. For example, the last messages I received during the instalation process are below:


Setting up openjdk-7-jre-headless:armhf (7u85-2.6.1-6+deb8u1) ...
update-alternatives: using /usr/lib/jvm/java-7-openjdk-armhf/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: error: error creating symbolic link `/usr/share/man/man1/rmid.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package openjdk-7-jre-headless:armhf (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of openjdk-7-jre:armhf:
openjdk-7-jre:armhf depends on openjdk-7-jre-headless (= 7u85-2.6.1-6+deb8u1); however:
  Package openjdk-7-jre-headless:armhf is not configured yet.

dpkg: error processing package openjdk-7-jre:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-7-jdk:armhf:
openjdk-7-jdk:armhf depends on openjdk-7-jre (= 7u85-2.6.1-6+deb8u1); however:
  Package openjdk-7-jre:armhf is not configured yet.

dpkg: error processing package openjdk-7-jdk:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ca-certificates-java:
ca-certificates-java depends on openjdk-6-jre-headless (>= 6b16-1.6.1-2) | java6-runtime-headless; however:
  Package openjdk-6-jre-headless is not installed.
  Package java6-runtime-headless is not installed.
  Package openjdk-7-jre-headless:armhf which provides java6-runtime-headless is not configured yet.

dpkg: error processing package ca-certificates-java (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18) ...
Errors were encountered while processing:
openjdk-7-jre-headless:armhf
openjdk-7-jre:armhf
openjdk-7-jdk:armhf
ca-certificates-java
E: Sub-process /usr/bin/dpkg returned an error code (1)


I tried different versions of openjdk-n-jdk and sources (sources.list). None worked.

Does anybody have a clue of what is happening? Is there a chance to be something wrong with the image?

Thanks in advance for the help!

ylsantos