tis-java8 / ERROR status

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
Aramis
Messages: 17
Registration: July 16, 2024 - 11:48
Location: Lille

August 1, 2024 - 2:24 PM

Good morning,

I am using WAPT Enterprise version 2.5.5.15691 on a Debian 12.6 server (6.1.94-1 (2024-06-21)).

I attempted to deploy the tis-java8 package to workstations through an AD organizational unit.

I get the following error:

Code: Select all

Installing: drsilil-java8
WARNING: A Java Runtime Environment 8 (JRE) will be installed with WAPT since this package allow arbitrary install based on available package in a specific order
Erreur lors de l'installation de ['drsilil-java8(=10.0-2)']: erreurs dans les paquets [[PackageRequest(package='drsilil-java8',version=(Version('10.0.0.0'), 2),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('drsilil-java8','10.0-2' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\WINDOWS\\TEMP\\waptj_8j0rpe\\setup.py", line 35, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 1957, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : ERROR: No Java Runtime Environment 8 (JRE) have been deployed on this system, please import and deploy the package adapted to your organization\n']]
Traceback (most recent call last):
  File "<string>", line 1939, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1341, in _run
    raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['drsilil-java8(=10.0-2)']: erreurs dans les paquets [[PackageRequest(package='drsilil-java8',version=(Version('10.0.0.0'), 2),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('drsilil-java8','10.0-2' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\WINDOWS\\TEMP\\waptj_8j0rpe\\setup.py", line 35, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 1957, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : ERROR: No Java Runtime Environment 8 (JRE) have been deployed on this system, please import and deploy the package adapted to your organization\n']]

Exception: Erreur lors de l'installation de ['drsilil-java8(=10.0-2)']: erreurs dans les paquets [[PackageRequest(package='drsilil-java8',version=(Version('10.0.0.0'), 2),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('drsilil-java8','10.0-2' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\WINDOWS\\TEMP\\waptj_8j0rpe\\setup.py", line 35, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 1957, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : ERROR: No Java Runtime Environment 8 (JRE) have been deployed on this system, please import and deploy the package adapted to your organization\n']]
Traceback (most recent call last):
  File "<string>", line 1939, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1341, in _run
    raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['drsilil-java8(=10.0-2)']: erreurs dans les paquets [[PackageRequest(package='drsilil-java8',version=(Version('10.0.0.0'), 2),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('drsilil-java8','10.0-2' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\WINDOWS\\TEMP\\waptj_8j0rpe\\setup.py", line 35, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 1957, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : ERROR: No Java Runtime Environment 8 (JRE) have been deployed on this system, please import and deploy the package adapted to your organization\n']]
So, I'm thinking that this isn't the right adapted version.

I remove the package from the list of packages to be installed in this OU.

I have consistently had an error in the status of each machine.

So I tried the wapt-forget-packages package by correctly specifying the tis-java8 package, but without success since this package is ultimately not installed on the machines.

The error persists in the console with an error status for each machine.

Consulting the forum, the advice given is to use the "forget the package" command.

But this command is not available when I select a machine.

How can I restore the status of each machine and permanently remove the installation of this package?

Thank you for any advice you can give me.

Sincerely,
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

August 14, 2024 - 1:25 PM

The tis-java8 package is quite specific.

It attempts to install one of the following packages:

tis-adoptium-openjdk8-jre,
tis-oracle-java8-jre-free,
or tis-oracle-java8-jre-nonfree.

Therefore, your repository must contain at least one of these three packages.

Depending on your Java usage requirements, it's up to you to decide what you want.
Answer