[Résolu] Installation roundcube impossible

,

Bonsoir,

Suite de mes problèmes. Je n’arrivais pas à faire la mise à jour de roundcube. J’ai donc désinstallé et tenté de réinstaller roundcube. Mais l’installation échoue quand je fais : yunohost app install roundcube --verbose

Voici : https://arnauld.org/zerobin/?cd6178b21ea23b10#mQWmA99AkUu4J/Vv0iepVwbKOSXOsyNiYj/TUhzvk/I=

Bonjour,
On dirait qu’une installation d’autre chose s’est mal terminée, à en croire ceci qui n’a rien à voir avec roundcube :

Setting up ca-certificates-java (20161107~bpo8+1) ...
                                                                       Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
       Please install or use the JRE or JDK that contains these missing components.
   dpkg: error processing package ca-certificates-java (--configure):
                                                                      subprocess installed post-installation script returned error exit status 4
                                                                dpkg: dependency problems prevent configuration of openjdk-8-jre-headless:armhf:
                                                                 openjdk-8-jre-headless:armhf depends on ca-certificates-java; however:
                                                         Package ca-certificates-java is not configured yet.

                            dpkg: error processing package openjdk-8-jre-headless:armhf (--configure):
                       dependency problems - leaving unconfigured

Peux-tu STP essayer cela en CLI ?

sudo dpkg –configure -a
sudo apt-get install -f 

Merci.

Voici :

root@arnauld:~# sudo dpkg –configure -a
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !

et

root@arnauld:~# sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ca-certificates-java (20161107~bpo8+1) ...
Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
dpkg: error processing package ca-certificates-java (--configure):
 subprocess installed post-installation script returned error exit status 4
dpkg: dependency problems prevent configuration of openjdk-8-jre-headless:armhf:
 openjdk-8-jre-headless:armhf depends on ca-certificates-java; however:
  Package ca-certificates-java is not configured yet.

dpkg: error processing package openjdk-8-jre-headless:armhf (--configure):
 dependency problems - leaving unconfigured
Processing triggers for ca-certificates (20141019+deb8u3) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
Errors were encountered while processing:
 ca-certificates-java
 openjdk-8-jre-headless:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@arnauld:~#

OK donc ça n’a rien à voir avec roundcube…

En faisant une recherche, on constate que c’est un bug connu, et il y a une proposition de contournement ici.
Il faudrait surtout savoir comment tu en es arrivé à installer java…

1 Like

Merci @JimboJoe !

J’ai suivi ton lien et appliqué :

I actually fixed this error going step by step, apt seems to have a bug in the way it handles ca-certificates-java and openjdk-8-jre-headless on raspbian.

So I did :

sudo apt-get remove openjdk-8-jre-headless openjdk-8-jre
sudo apt-get install ca-certificates-java
sudo apt-get install openjdk-8-jre-headless
sudo apt-get install openjdk-8-jre # Optional, enables Java GUI apps

Et j’ai pu réinstaller Roundcube.

Il faudrait surtout savoir comment tu en es arrivé à installer java…

Je ne sais pas. J’ai du essayer quelque chose avant, mais j’ai oublié…

Merci encore une fois de ton conseil et expérience.