Page 1 of 1

[SOLVED] Caching packages

Published: March 10, 2025 - 10:05
by ArthurBrg
Hello everyone,

I'm using WAPT Enterprise 2.6.0.16795 to manage my IT infrastructure. I'd like to be able to cache the packages that need to be installed on the workstations to speed up installations when the workstation is shut down.

My idea was to create a package that uses scheduled auditing to download packages from the cache. This package would execute the command: `wapt-get download-upgrade`.

However, I quickly ran into a problem during my tests. This command cannot be executed during a package audit/installation.

My question is, therefore, is there a known alternative to meet my needs?

Thank you for your feedback :)

Re: Caching packages

Published: March 10, 2025 - 12:52
by htouvet
The agents are already pre-downloading the packages to be upgraded every 2 hours.

If you want to anticipate because you know the workstations will be shut down at a specific time, you can trigger (via a scheduled task on each workstation) the following command:

Code: Select all

wapt-get --not-interactive -S local-request "download_upgrade?update=1" 
which does the same thing as what is launched when you request "Check for updates" in the console by checking "And download packages locally"

Re: Caching packages

Published: March 12, 2025 - 1:44 PM
by ArthurBrg
Thank you for your feedback.

I implemented it in my park just in case, and it works great. :D

Have a good day!