J'ai un serveur qui fonctionne sous Debian Squeeze et la mise à niveau vers Wheezy n'est pas une option. J'ai besoin d'installer la version 7 du JRE car il y a des corrections de bogues dont j'ai besoin. Mes options sont les suivantes :
- Installer openjdk-7-jre à partir du dépôt de paquets wheezy
- Installer oracle 7 jre
Nous aimerions de préférence installer openjdk mais je trouve cela très difficile. J'ai essayé d'installer en utilisant apt-get openjdk-7-jre et j'ai obtenu la réponse suivante :
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openjdk-7-jre : Depends: openjdk-7-jre-headless (= 7u3-2.1.3-1) but it is not going to be installed
Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-2.1 is to be installed
Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not going to be installed
Depends: libjpeg8 (>= 8c) but 8b-1 is to be installed
Depends: libpulse0 (>= 0.99.1) but 0.9.21-3+squeeze1 is to be installed
Depends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2) but it is not going to be installed
E: Broken packages
J'ai ensuite essayé aptitude et j'ai obtenu cette réponse :
0 packages upgraded, 76 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.9 MB of archives. After unpacking 171 MB will be used.
The following packages have unmet dependencies:
libnss3: Conflicts: libnss3-1d (< 2:3.13.4-2) but 3.12.8-1+squeeze6 is installed.
openjdk-7-jre: Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-2.1 is installed.
Depends: libjpeg8 (>= 8c) but it is not going to be installed.
Depends: libpulse0 (>= 0.99.1) but it is not going to be installed.
libgdk-pixbuf2.0-0: Depends: libglib2.0-0 (>= 2.31.18) but 2.24.2-1 is installed.
Depends: libjpeg8 (>= 8c) but it is not going to be installed.
Depends: libtiff4 (>= 3.9.5-2) but 3.9.4-5+squeeze8 is installed.
Breaks: libgtk2.0-0 (< 2.21.3) but 2.20.1-2 is installed.
Breaks: libgtk2.0-bin (< 2.21.3) but 2.20.1-2 is installed.
icedtea-7-jre-cacao: Depends: libstdc++6 (>= 4.6) but 4.4.5-8 is installed.
libatk-wrapper-java-jni: Depends: libglib2.0-0 (>= 2.31.8) but 2.24.2-1 is installed.
openjdk-7-jre-headless: Depends: libjpeg8 (>= 8c) but it is not going to be installed.
Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-2.1 is installed.
Depends: libglib2.0-0 (>= 2.26.0) but 2.24.2-1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) icedtea-7-jre-cacao [Not Installed]
2) icedtea-7-jre-jamvm [Not Installed]
3) libatk-wrapper-java-jni [Not Installed]
4) libgdk-pixbuf2.0-0 [Not Installed]
5) libnss3 [Not Installed]
6) openjdk-7-jre [Not Installed]
7) openjdk-7-jre-headless [Not Installed]
8) openjdk-7-jre-lib [Not Installed]
Leave the following dependencies unresolved:
9) libatk-wrapper-java recommends libatk-wrapper-java-jni
Accept this solution? [Y/n/q/?]
Accepter la solution se termine ainsi :
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Désolé pour la sortie verbeuse, je suis un novice en la matière.
Quoi qu'il en soit, d'après ce que j'ai lu, il est assez difficile d'installer openjdk-7 sur squeeze - je suppose que je cherche une solution miracle ! Quelqu'un a-t-il réussi ? Devrais-je abandonner et prendre oracle ?
A la vôtre,
James