I receive an error message attempting to install Java from the OSMC GUI on my Vero V. Here’s what I get when attempting from the command line:
osmc@vero-v-fr:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openjdk-11-jre-headless:armhf (11.0.21+9-1~deb11u1) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-armhf/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: error: error creating symbolic link '/usr/share/man/man1/java.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package openjdk-11-jre-headless:armhf (--configure):
installed openjdk-11-jre-headless:armhf package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of openjdk-11-jre:armhf:
openjdk-11-jre:armhf depends on openjdk-11-jre-headless (= 11.0.21+9-1~deb11u1); however:
Package openjdk-11-jre-headless:armhf is not configured yet.
dpkg: error processing package openjdk-11-jre:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jre:
default-jre depends on openjdk-11-jre; however:
Package openjdk-11-jre:armhf is not configured yet.
dpkg: error processing package default-jre (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openjdk-11-jre-headless:armhf
openjdk-11-jre:armhf
default-jre
E: Sub-process /usr/bin/dpkg returned an error code (1)
And:
osmc@vero-v-fr:~$ sudo dpkg --configure -a
Setting up openjdk-11-jre-headless:armhf (11.0.21+9-1~deb11u1) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-armhf/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: error: error creating symbolic link '/usr/share/man/man1/java.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package openjdk-11-jre-headless:armhf (--configure):
installed openjdk-11-jre-headless:armhf package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of openjdk-11-jre:armhf:
openjdk-11-jre:armhf depends on openjdk-11-jre-headless (= 11.0.21+9-1~deb11u1); however:
Package openjdk-11-jre-headless:armhf is not configured yet.
dpkg: error processing package openjdk-11-jre:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jre:
default-jre depends on openjdk-11-jre; however:
Package openjdk-11-jre:armhf is not configured yet.
dpkg: error processing package default-jre (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openjdk-11-jre-headless:armhf
openjdk-11-jre:armhf
default-jre