[RESOLVED] Dependency error

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
ludo64230
Messages: 3
Registration: December 20, 2022 - 12:38

December 20, 2022 - 12:46

Good morning,

WAPT version 2.2.3.12485-1724df7f

I am unable to resolve a deployment issue for a machine.

I have a "COMMON" packet group with about thirty packets in it.

The package group deployment works perfectly except for one machine where I get this error message:

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 3899, in install_wapt
    raise EWaptUnavailablePackage('Missing dependencies: %s' % (','.join(missing_depends,)))
waptpackage.EWaptUnavailablePackage: Missing dependencies: febus-thunderbird,febus-firefox

EWaptUnavailablePackage: Missing dependencies: febus-thunderbird,febus-firefox
However, these two packages (imported from the wapt-templates repository) are indeed present and associated with the "COMMUN" group, and this works for all the other machines in the network...

Do you have any suggestions?

THANKS.
Ludo
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

December 21, 2022 - 12:26

Hello Ludovic,

could the machine be running a 32-bit system, or perhaps an English locale?

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
ludo64230
Messages: 3
Registration: December 20, 2022 - 12:38

December 22, 2022 - 12:05 PM

Hello,

Thank you Denis for your feedback.

Indeed, it's the only PC that's in English!

So I imported Firefox in "all" language, but the Thunderbird package only exists in "fr". I'm going to download it in English and the builder as well, but if I put both versions in the package group, I suppose that will install Thunderbird twice and perhaps generate conflicts.

It's a shame that we can't add dependencies based on the language (and the CPU architecture).

I think I'll create a "COMMUN_FR" group and a "COMMUN_EN" group.

Anyway, that was indeed the problem.

Thank you very much!
Ludovic
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 22, 2022 - 2:59 PM

ludo64230 wrote: Dec 22 2022 - 12:05 So I imported Firefox in "all" language, but the thunderbird package only exists in "fr".
Yes, we have it in English on the store: https://wapt.tranquil.it/store/fr/detai ... D_en.wapt/
ludo64230 wrote: Dec 22, 2022 - 12:05 I suppose this will install Thunderbird twice and may generate conflicts.
On the contrary, Wapt will install exactly the version needed, specifically based on the OS language

ludo64230 wrote: Dec 22, 2022 - 12:05 It's a shame that we can't add dependencies based on language (and CPU architecture).
If you add a package as a dependency, it simply needs to exist in all the operating system languages ​​you have
ludo64230
Messages: 3
Registration: December 20, 2022 - 12:38

December 23, 2022 - 10:11

Hello,

thank you for these answers.

That's perfect, thank you very much for everything.

Ludovic
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

December 26, 2022 - 5:13 PM

Hello,

if the PC was installed in English and then configured with a French graphical interface, the machine will still retain its initial English locale.

You can force the desired locale in wapt-get.ini if ​​it's different from the OS's locale. You can find the "locales" setting in the documentation here: https://www.wapt.fr/en/doc/wapt-advance ... l-settings

Happy Holidays,

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
Locked