Page 1 of 1

[SOLVED] Packet group, package with min-os in missing_depends

Published: September 17, 2024 - 12:16 PM
by jlatieule
Good morning,


I don't know how to handle this case.

I have a "server_grp" package group that applies to different versions of Windows Server
In this group, I have a package ophlm-kb5042350 which exclusively targets Windows Server 2019 thanks to min_os_version and max_os_version having the value "10.0.17763"

Servers 2016 will not install this package, which is reserved for servers 2019.
Unfortunately, the "grp_serveur" group references it and I have a missing_depends error

Code: Select all

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

EWaptUnavailablePackage: Missing dependencies: ophlm-kb5042350
How can I ensure the group doesn't return an error in this specific case? I imagine I need to rethink how I group the elements
Can you tell me what I could do to improve the situation?

Sincerely
Latieule Joel

Re: Package group, package with min-os in missing_depends

Published: September 25, 2024 - 3:18 PM
by jlatieule
Resolved

Instead of targeting the OS in the control file, I targeted it in the installation script with a condition

Code: Select all

if windows_version() == "10.0.17763" :

Re: [SOLVED] Packet group, package with min-os in missing_depends

Published: September 26, 2024 - 11:01 AM
by dcardon
Hi Joël,

thanks for your feedback, I'm marking the topic as RESOLVED.

Have a good day,

Denis