Dependencies not installed from repository when installing local wapt file

Share here your tips or issues concerning WAPT Console or WAPT Agent / Venez ici partager vos problèmes et astuces concernants la console et l'agent WAPT
Règles du forum
Règles du forum communautaire
* English support on www.reddit.com/r/wapt
* Le support communautaire en français se fait sur ce forum
* Merci de préfixer le titre du topic par [RESOLU] s'il est résolu.
* Merci de ne pas modifier un topic qui est taggé [RESOLU]. Ouvrez un nouveau topic en référençant l'ancien
* Préciser version de WAPT installée, version complète ET numéro de build (2.2.1.11957 / 2.2.2.12337 / etc.) AINSI QUE l'édition Enterprise / Discovery
* Les versions 1.8.2 et antérieures ne sont plus maintenues. Les seules questions acceptées vis à vis de la version 1.8.2 sont liés à la mise à jour vers une version supportée (2.1, 2.2, etc.)
* Préciser OS du serveur (Linux / Windows) et version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019)
* Préciser OS de la machine d'administration/création des paquets et de la machine avec l'agent qui pose problème le cas échéant (Windows 7 / 10 / 11 / Debian 11 / etc.)
* Eviter de poser plusieurs questions lors de l'ouverture de topic, sinon il risque d'être ignorer. Si plusieurs sujet, ouvrir plusieurs topic, et de préférence les uns après les autres et pas tous en même temps (ie ne pas spammer le forum).
* Inclure directement les morceaux de code, les captures d'écran et autres images directement dans le post. Les liens vers les pastebin, les bitly et autres sites tierces seront systématiquement supprimés.
* Comme tout forum communautaire, le support est fait bénévolement par les membres. Si vous avez besoin d'un support commercial, vous pouvez contacter le service commercial Tranquil IT au 02.40.97.57.55
moritz1234
Messages : 8
Inscription : 29 mars 2024 - 21:56

01 août 2025 - 00:43

Hi there,

I got a clean machine that is not connected to the wapt server, but has the repository set up (it's pretty much a self managed device; only `repo_url` is specified).

Now I want to install a package (lets take keepass xc as an example). I downloaded the wapt file (self build in the console) and I am trying to install it like this:

Code : Tout sélectionner

C:\volume>wapt-get install *.wapt
Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
Installing WAPT files C:\volume\keepassxc_2.7.10-5_x64_windows_PROD.wapt
FATAL ERROR : Missing dependencies: vcredist2015-2022
It does not find the dependencies. `vcredist2015-2022` is available in the central repository and can easily be installed:

Code : Tout sélectionner

C:\>wapt-get install vcredist2015-2022
Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
install using WAPT packages vcredist2015-2022
index : 262144 / 39078760 (1%) (0.00b/s)5211.0-27_windows_6.0_PROD.wapt: progress 0 of 100
Downloading vcredist2015-2022_14.44.35211.0-27_windows_6.0_PROD.wapt index 37.2MB done in 344ms ( 108.3MB/s )
index : 39078760 / 39078760 (100%) (108.34Mb/s)27_windows_6.0_PROD.wapt: progress 100 of 100
2025-08-01 00:39:39,135 WARNING Unable to get HNetCfg.FwPolicy2 rules: This object does not support enumeration
Installing: VC_redist.x86.exe
Installing: VC_redist.x64.exe

Results :

 === install packages ===
  vcredist2015-2022 [x64_en_PROD] | vcredist2015-2022 (14.44.35211.0-27)

I can also directly install keepassxc with `wapt-get install keepassxc`, but then it is using the version from ther repository.


Is there any way to install a local .wapt file and fetch all needed dependencies? Otherwise I need to hack it around and use `wapt-get show *.wapt` and the grep for `depends`.

I am running on windows with the latest version of wapt (`2.6.0.17392`).

Any help appreciated! Thank you.

(And: pardon pour mon mal fracaise!)
moritz1234
Messages : 8
Inscription : 29 mars 2024 - 21:56

01 août 2025 - 01:04

And just to mention, but I am somehow unable to capture the output of wapt-get show on local files:

e.g. `wapt-get show keepassxc > test.txt` works without a problem, but when `wapt-get show keepassxc.wapt > test.txt` the file just contains the following:

Code : Tout sélectionner

Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
Display package control data for keepassxc_2.7.10-5_x64_windows_PROD.wapt

FATAL ERROR : 'charmap' codec can't encode character '\u017c' in position 820: character maps to <undefined>
Avatar de l’utilisateur
blemoigne
Messages : 127
Inscription : 17 juil. 2020 - 11:29

01 août 2025 - 14:20

Hello,
What repo_url is set? Is it your own repo or our public store?
You can specify a package version if available on that repo:

Code : Tout sélectionner

wapt-get install keepassxc(=2.7.10-1)
moritz1234
Messages : 8
Inscription : 29 mars 2024 - 21:56

02 août 2025 - 00:59

I specified my own repo (like https://repo.internal).

I do not want to install a specific version, I want to install the local .wapt file and pull needed dependencies (`depends` in WAPT/control) from the repository.
Répondre