Page 1 of 1

Unable to install or uninstall packages

Published: October 9, 2020 - 9:45 AM
by Plegrand
Good morning,
I'm having some problems with Wapt.
During the migration to Samba 4 AD with Tranquil IT, we had set up packages to be installed on the different workstations to facilitate this migration.
Wanting to do some tidying up, I deleted quite a few packages that I considered unnecessary.
However, I did not uninstall these packages from the workstations before removing them from the server.
As a result, I end up with workstations that have packages to install of the type: 4C4C4544-0033-3610-8054-B3C04F42344A
It is impossible for me, on a given computer, to forget, uninstall or install this package which is unknown to me.
During an installation attempt, I get this type of error message:

Code: Select all

Installing 4C4C4544-0033-3610-8054-B3C04F42344A

Installing 4C4C4544-0033-3610-8054-B3C04F42344A(=8)

Traceback (most recent call last):
  File "C:\Program Files\wapt\waptservice\service.py", line 1890, in run
    self.running_task.run()
  File "C:\Program Files\wapt\waptservice\waptservice_common.py", line 653, in run
    self._run()
  File "C:\Program Files\wapt\waptservice\waptservice_common.py", line 1126, in _run
    self.result.get('errors',[])))
Exception: Erreur lors de l'installation de [u'4C4C4544-0033-3610-8054-B3C04F42344A']: erreurs dans les paquets [[PackageRequest(package=u'4C4C4544-0033-3610-8054-B3C04F42344A',architectures=[u'x86'],locales=['fr'],maturities=[u'PROD'],target_os=[u'windows'],min_os_version=Version('6.1.7601'),max_os_version=Version('6.1.7601')), PackageEntry(u'4C4C4544-0033-3610-8054-B3C04F42344A',u'8' ), u'Traceback (most recent call last):\n  File "C:\\Program Files\\wapt\\common.py", line 4956, in install\n    force=force\n  File "C:\\Program Files\\wapt\\common.py", line 3964, in install_wapt\n    raise e\nEWaptUnavailablePackage: Missing dependencies: Upgrade-Agent-Parc-Entier,iutchartres-shutdown-force,iutchartres-set-suffix\n']]

Exception: Erreur lors de l'installation de [u'4C4C4544-0033-3610-8054-B3C04F42344A']: erreurs dans les paquets [[PackageRequest(package=u'4C4C4544-0033-3610-8054-B3C04F42344A',architectures=[u'x86'],locales=['fr'],maturities=[u'PROD'],target_os=[u'windows'],min_os_version=Version('6.1.7601'),max_os_version=Version('6.1.7601')), PackageEntry(u'4C4C4544-0033-3610-8054-B3C04F42344A',u'8' ), u'Traceback (most recent call last):\n  File "C:\\Program Files\\wapt\\common.py", line 4956, in install\n    force=force\n  File "C:\\Program Files\\wapt\\common.py", line 3964, in install_wapt\n    raise e\nEWaptUnavailablePackage: Missing dependencies: Upgrade-Agent-Parc-Entier,iutchartres-shutdown-force,iutchartres-set-suffix\n']]
Traceback (most recent call last):
  File "C:\Program Files\wapt\waptservice\service.py", line 1890, in run
    self.running_task.run()
  File "C:\Program Files\wapt\waptservice\waptservice_common.py", line 653, in run
    self._run()
  File "C:\Program Files\wapt\waptservice\waptservice_common.py", line 1126, in _run
    self.result.get('errors',[])))
Exception: Erreur lors de l'installation de [u'4C4C4544-0033-3610-8054-B3C04F42344A']: erreurs dans les paquets [[PackageRequest(package=u'4C4C4544-0033-3610-8054-B3C04F42344A',architectures=[u'x86'],locales=['fr'],maturities=[u'PROD'],target_os=[u'windows'],min_os_version=Version('6.1.7601'),max_os_version=Version('6.1.7601')), PackageEntry(u'4C4C4544-0033-3610-8054-B3C04F42344A',u'8' ), u'Traceback (most recent call last):\n  File "C:\\Program Files\\wapt\\common.py", line 4956, in install\n    force=force\n  File "C:\\Program Files\\wapt\\common.py", line 3964, in install_wapt\n    raise e\nEWaptUnavailablePackage: Missing dependencies: Upgrade-Agent-Parc-Entier,iutchartres-shutdown-force,iutchartres-set-suffix\n']]
Any ideas on how to solve this problem to get back to a clean and almost pristine WAPT installation?

Thank you for your help.

Pascal

Re: Unable to install or uninstall packages

Published: October 15, 2020 - 2:52 PM
by dcardon
Hello plegrand,
packages with GUID ID 4C4C4544-0033-3610-8054-B3C04F42344A are "virtual" packages that correspond to the machine's configuration, see the documentation. They cannot be deleted because they don't actually exist on the machine. On the server side, they do exist as a package in /wapt-host/ and contain the target machine's configuration.
Regards,
Denis