Project

General

Profile

Actions

Bug #10504

closed

Zypper complains too late about missing jdk 1.8 when installing rudder 4.1

Added by Nicolas CHARLES about 7 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
49
Name check:
Fix check:
Regression:

Description

I could begin the installation of rudder 4.1 without jdk 1.8, and it complained only at the end

zypper install rudder-server-root
Chargement des données du dépôt...
Lecture des paquets installés...
Résolution des dépendances des paquets...

Les NOUVEAUX paquets suivants vont être installés:
  apache2 apache2-mod_wsgi apache2-prefork apache2-utils libapr1 libapr-util1 ncf ncf-api-virtualenv postgresql91 postgresql91-server 
  postgresql-init rsyslog rsyslog-module-pgsql rudder-agent rudder-inventory-endpoint rudder-inventory-ldap rudder-jetty rudder-reports 
  rudder-server-relay rudder-server-root rudder-techniques rudder-webapp 

Le paquet recommandé suivant a été automatiquement sélectionné :
  apache2-prefork 

Les paquets suivants requierent un contrat client additionnel pour obtenir du support :
  postgresql91 postgresql91-server postgresql-init 

Les paquets suivants ne sont pas supportés par leur fournisseur:
  apache2-mod_wsgi ncf ncf-api-virtualenv rudder-agent rudder-inventory-endpoint rudder-inventory-ldap rudder-jetty rudder-reports 
  rudder-server-relay rudder-server-root rudder-techniques rudder-webapp 

22 paquets à installer.
Taille de téléchargement totale : 194,4 MiB. Après l'opération, un 213,7 MiB supplémentaire sera utilisé.
Continuer ? [o/n/?] (o): o

(snip)
*****************************************************************************************
INFO: rudder-server-relay setup complete.                                                
INFO:                                                                                    
INFO: * If you are installing a root server, configuration is automatically done         
INFO: * If you are installing a simple relay, run:                                       
INFO:   '/opt/rudder/bin/rudder-node-to-relay ea6a66bf-a04d-44d4-8eef-2db912e65465'          
INFO:   on your root server to complete this node transition to a relay server.          
INFO:   Please look at the documentation for details (Section 'Relay servers')           
*****************************************************************************************

Installation: ncf-api-virtualenv - 1398866025:4.1.0.rc2.git201703240133-1.SLES.11 [fait]
Sortie rpm supplémentaire:
INFO: Creating the ncf-api-venv user... Done
warning: group ncf-api-venv does not exist - using root
INFO: Restarting Apache HTTPd... Done

Installation: rudder-webapp - 1398866025:4.1.0.rc2.git201703240133-1.SLES.11 [erreur]
Échec de l'installation de rudder-webapp-1398866025:4.1.0.rc2.git201703240133-1.SLES.11:
(avec --nodeps --force) Erreur: Subprocess failed. Error: Echec RPM:Rudder requires Java 8 or later. Your version of Java (detected as /usr/java/latest/bin/java) is 1.7.
Please install a more recent JVM.
INFO: Setting Apache HTTPd as a boot service... Done
INFO: Restarting syslog... Done
INFO: Stopping Apache HTTPd... Done
INFO: Adding ncf-api-venv to the rudder group... Done
INFO: Launching script to check if a migration is needed
INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK,  SQL OK
INFO: Checking if inventory-web.properties database access credentials are all right... LDAP OK,  SQL skipped
INFO: Checking PostgreSQL service status... OK
INFO: Checking LDAP service status... OK

INFO: The migration has completed successfully.
INFO: End of migration script
INFO: Starting Apache HTTPd... Done
Initialized empty shared Git repository in /var/rudder/configuration-repository/.git/
Rudder requires Java 8 or later. Your version of Java (detected as /usr/java/latest/bin/java) is 1.7.
Please install a more recent JVM.
error: %post(rudder-webapp-4.1.0.rc2.git201703240133-1.SLES.11.noarch) scriptlet failed, exit status 1

Abandonner, réessayer, ignorer ? [a/r/i] (a): 
Actions #1

Updated by Benoît PECCATTE about 7 years ago

I see that zypper used --nodeps --force
Since the dependency is properly declared, I cannot see what we could do to prevent zypper to ignore it.

Actions #2

Updated by François ARMAND about 7 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Getting started - demo | first install | level 1 Techniques
Actions #3

Updated by Benoît PECCATTE almost 7 years ago

  • Priority set to 35
Actions #4

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.0 to 4.1.1
Actions #5

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.1 to 4.1.2
Actions #6

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.2 to 4.1.3
  • Priority changed from 35 to 34
Actions #7

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.3 to 4.1.4
Actions #8

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.4 to 4.1.5
Actions #9

Updated by Alexis Mousset almost 7 years ago

  • Target version changed from 4.1.5 to 4.1.6
Actions #10

Updated by Benoît PECCATTE almost 7 years ago

  • Priority changed from 34 to 49
Actions #11

Updated by Benoît PECCATTE over 6 years ago

  • Status changed from New to Rejected

Closing since what happens is what was asked for.

Actions

Also available in: Atom PDF