- Версия пакета: 1.30.4-alt3 - Шаги воспроизведения: # apt-get install linstor-controller - Получаемый результат: 11: linstor-controller-1.30.4-alt3 ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Завершено. - Примечание: На дальнейшую работу пакета ошибка не влияет.
linstor-1.30.4-alt4 -> sisyphus: Mon Mar 17 2025 Andrey Cherepanov <cas@altlinux> 1.30.4-alt4 - use java-21-openjdk for linstore-controller (ALT #53487).
(Ответ для Repository Robot на комментарий #1) > linstor-1.30.4-alt4 -> sisyphus: > > Mon Mar 17 2025 Andrey Cherepanov <cas@altlinux> 1.30.4-alt4 > - use java-21-openjdk for linstore-controller (ALT #53487). Ошибка актуальна: 15: linstor-controller-1.30.4-alt4 ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Завершено.
# unset JAVA_HOME # . /etc/profile.d/javahome.sh # echo $JAVA_HOME /usr/lib/jvm/java # $JAVA_HOME/bin/java -version
Ошибка всё ещё актуальна: 15: linstor-controller-1.31.1-alt2 ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Завершено.
linstor-1.31.1-alt3 -> sisyphus: Wed Jun 25 2025 Ivan Khanas <xeno@altlinux> 1.31.1-alt3 - Set JAVA_HOME variable after installing controller. (Closes: 53487)
24: linstor-controller-1.31.1-alt3 ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Завершено.
(Ответ для Alexander Makeenkov на комментарий #6) > 24: linstor-controller-1.31.1-alt3 > > > ERROR: JAVA_HOME is not set and no 'java' command could be found in your > PATH. > > Please set the JAVA_HOME variable in your environment to match the > location of your Java installation. > > Завершено. По информации из redmine: "Если перед этим установлен linstor-common, то пакет так же успешно устанавливается." То есть у пакета linstor-controller нужно исправить следующее: -Requires: linstor-common = %EVR +Requires(post): linstor-common = %EVR
linstor-1.33.0-alt2 -> sisyphus: Mon Dec 22 2025 Anton Midyukov <antohami@altlinux> 1.33.0-alt2 - NMU: linstor-controller: Requires(post): linstor-common (Closes: 53487).
(Ответ для Антон Мидюков на комментарий #7) > (Ответ для Alexander Makeenkov на комментарий #6) > > 24: linstor-controller-1.31.1-alt3 > > > > > > ERROR: JAVA_HOME is not set and no 'java' command could be found in your > > PATH. > > > > Please set the JAVA_HOME variable in your environment to match the > > location of your Java installation. > > > > Завершено. > > По информации из redmine: > "Если перед этим установлен linstor-common, то пакет так же успешно > устанавливается." > > То есть у пакета linstor-controller нужно исправить следующее: > -Requires: linstor-common = %EVR > +Requires(post): linstor-common = %EVR Не помогло это. В hasher продолжает воспроизводиться. Должна быть java предварительно установлена, тогда ок. linstor-common её ставит, потому и ок. Но Requires(post): linstor-common не помогает решить проблему.
linstor-1.33.0-alt3 -> sisyphus: Tue Dec 23 2025 Andrey Cherepanov <cas@altlinux> 1.33.0-alt3 - NMU: linstor-controller: update alternatives in %post (Closes: 53487). - Used systemd macros for systemd services.