EWaptUnavailablePackage: Missing dependencies

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
tux
Messages: 62
Registration: Sep 05, 2023 - 09:44

February 5, 2025 - 10:10

Good morning,

I have an OU package in which I have added software dependencies.
It works on all machines that are in the OU except for one that tells me that two dependencies are missing.
These two dependencies install correctly on other machines (same OS, same architecture).

I don't understand why.
The maturity of the two dependent packages is good.
The architecture too. I even tried importing both the x86 and x64 versions into my repository.

When installing the OU package, I get the following error:

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4107, in install_wapt
    raise EWaptUnavailablePackage('Missing dependencies: %s' % (','.join(missing_depends,)))
waptpackage.EWaptUnavailablePackage: Missing dependencies: XXX-webview2,XXX-microsoft-edge

EWaptUnavailablePackage: Missing dependencies: XXX-webview2,XXX-microsoft-edge

I uninstalled and reinstalled the agent, same problem. I restarted the machine, same problem.
Do you have any idea?






WAPT Enterprise version 2.6.0.16795
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 5, 2025 - 12:33

Hello Sébastien,

Can you run the following command as a local administrator on the machine in question?

Code: Select all

wapt-get upgrade -l debug
Normally, it should display why the packet is rejected locally. Is there a locale for the packet (en/fr/etc.)?

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
tux
Messages: 62
Registration: Sep 05, 2023 - 09:44

February 5, 2025 - 4:30 PM

It eventually "started working" without any action on my part. :?

On the machine in question, I only see in the service logs that it eventually starts the "task queue"
and at that point it began downloading and installing the packages.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 5, 2025 - 4:55 PM

Hello Sébastien,

was there a certificate that was added by a package along with the other software? And was this new certificate then used to sign the other packages?

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
tux
Messages: 62
Registration: Sep 05, 2023 - 09:44

February 6, 2025 - 9:01 AM

Hello,

No, no new certificate has been added.
Both packages were imported into the repository with the certificate that is included in the agent.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 6, 2025 - 5:13 PM

Hi Sébastien,

Was there a new maturity update that needed to be installed on the machine? Or was the maturity update already present?

The initial problem and subsequent automatic resolution might suggest that there was a prerequisite to install first (certificate, maturity update, forced language, etc.) that the dependency engine doesn't take into account for the installation order, and that it starts working again once the package defining the prerequisite has been correctly installed. But in your case, I don't see how.

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Answer