Page 1 sur 1

Dependencies not installed from repository when installing local wapt file

Publié : 01 août 2025 - 00:43
par moritz1234
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!)

Re: Dependencies not installed from repository when installing local wapt file

Publié : 01 août 2025 - 01:04
par moritz1234
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>

Re: Dependencies not installed from repository when installing local wapt file

Publié : 01 août 2025 - 14:20
par blemoigne
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)

Re: Dependencies not installed from repository when installing local wapt file

Publié : 02 août 2025 - 00:59
par moritz1234
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.