package installation problem

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
Locked
jkerneur
Messages: 1
Registration: March 11, 2021 - 10:58

September 21, 2021 - 12:06 PM

- Installed WAPT version (1.8.2)
- Server OS (Linux) and version (ubuntu 20.04 LTS)
- Operating system of the administration/package creation machine (Windows 10)


Good morning,

We deployed WAPT 1.8.2 Community on our network. The tool works correctly and we were able to create our own packages.

However, we are encountering a problem with a package we created.

Originally, it was an .exe generated by the ESET console which deployed an agent and the antivirus.

The deployment went well and the antivirus and agent installed correctly on the machine.
However, WAPT continues to reinstall it on the machine.
The logs show that wapt considers the package not to be installed.
Is there a setting or key that allows an installation to be acknowledged?
Here is the error message that the console is giving me:

Code: Select all

Installing me-eset-security_V2(=7.2.1266.0-2)

Installing me-eset-security_V2(=7.2.1266.0-2)


Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1892, in run
    self.running_task.run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 653, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1126, in _run
    self.result.get('errors',[])))
Exception: Erreur lors de l'installation de [u'me-eset-security_V2(=7.2.1266.0-2)']: erreurs dans les paquets [[PackageRequest(package=u'me-eset-security_V2',version=(Version('7.2.1266.0'), 2),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],target_os=[u'windows'],min_os_version=Version('10.0.19042'),max_os_version=Version('10.0.19042')), PackageEntry(u'me-eset-security_V2',u'7.2.1266.0-2' maturity=u'PROD'), u'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4957, in install\n    force=force\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 3965, in install_wapt\n    raise e\nCalledProcessErrorOutput: Command \'"ESMC_Installer_x64_fr_FR.exe" --silent --accepteula\' returned non-zero exit status 5002.\nOutput:\n']]

Exception: Erreur lors de l'installation de [u'me-eset-security_V2(=7.2.1266.0-2)']: erreurs dans les paquets [[PackageRequest(package=u'me-eset-security_V2',version=(Version('7.2.1266.0'), 2),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],target_os=[u'windows'],min_os_version=Version('10.0.19042'),max_os_version=Version('10.0.19042')), PackageEntry(u'me-eset-security_V2',u'7.2.1266.0-2' maturity=u'PROD'), u'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4957, in install\n    force=force\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 3965, in install_wapt\n    raise e\nCalledProcessErrorOutput: Command \'"ESMC_Installer_x64_fr_FR.exe" --silent --accepteula\' returned non-zero exit status 5002.\nOutput:\n']]
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1892, in run
    self.running_task.run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 653, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1126, in _run
    self.result.get('errors',[])))
Exception: Erreur lors de l'installation de [u'me-eset-security_V2(=7.2.1266.0-2)']: erreurs dans les paquets [[PackageRequest(package=u'me-eset-security_V2',version=(Version('7.2.1266.0'), 2),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],target_os=[u'windows'],min_os_version=Version('10.0.19042'),max_os_version=Version('10.0.19042')), PackageEntry(u'me-eset-security_V2',u'7.2.1266.0-2' maturity=u'PROD'), u'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4957, in install\n    force=force\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 3965, in install_wapt\n    raise e\nCalledProcessErrorOutput: Command \'"ESMC_Installer_x64_fr_FR.exe" --silent --accepteula\' returned non-zero exit status 5002.\nOutput:\n']]
And here's what the audit revealed:

Code: Select all

Auditing me-eset-security_V2(=7.2.1266.0-2)


Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1892, in run
    self.running_task.run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 653, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1209, in _run
    self.result.append(u'%s: %s' % (package,self.wapt.audit(package,force = self.force)))
  File "C:\Program Files (x86)\wapt\common.py", line 6558, in audit
    raise Exception('Package %s is not installed' % package)
Exception: Package me-eset-security_V2(=7.2.1266.0-2) is not installed

Exception: Package me-eset-security_V2(=7.2.1266.0-2) is not installed
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1892, in run
    self.running_task.run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 653, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1209, in _run
    self.result.append(u'%s: %s' % (package,self.wapt.audit(package,force = self.force)))
  File "C:\Program Files (x86)\wapt\common.py", line 6558, in audit
    raise Exception('Package %s is not installed' % package)
Exception: Package me-eset-security_V2(=7.2.1266.0-2) is not installed
Thank you in advance for your feedback.

Greetings
Locked