Dependencies not installed from repository when installing local wapt file

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
moritz1234
Messages: 8
Registration: March 29, 2024 - 9:56 PM

August 1, 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: Select all

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: Select all

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 the 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 for my French slur!)
moritz1234
Messages: 8
Registration: March 29, 2024 - 9:56 PM

August 1, 2025 - 01:04

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

eg `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: Select all

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>
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

August 1, 2025 - 2:20 PM

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: Select all

wapt-get install keepassxc(=2.7.10-1)
moritz1234
Messages: 8
Registration: March 29, 2024 - 9:56 PM

August 2, 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.
Answer