Page 1 of 1

[RESOLVED] Dependency error

Published: Dec 20, 2022 - 12:46
by ludo64230
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

Re: Dependency error

Published: Dec 21, 2022 - 12:26
by dcardon
Hello Ludovic,

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

Regards,

Denis

[SOLVED] Re: Dependency error

Published: Dec 22, 2022 - 12:05 PM
by ludo64230
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

Re: [SOLVED] Re: Dependency error

Published: Dec 22, 2022 - 2:59 PM
by sfonteneau
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

Re: Dependency error

Published: Dec 23, 2022 - 10:11
by ludo64230
Hello,

thank you for these answers.

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

Ludovic

Re: Dependency error

Published: Dec 26, 2022 - 5:13 PM
by dcardon
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