Page MenuHomeVyOS Platform

vyos-build failing to build, missing dependencies
Closed, ResolvedPublicBUG

Description

Since Saturday I tried to build a VyOS image using the dockerized vyos-build procedure, but I always failed quite early during the process:

...
[2026-06-08 08:12:42] lb chroot_install-packages install
P: Begin installing packages (install pass)...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
debconf is already the newest version (1.5.82).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 suricata : Depends: libhtp2 (>= 1:0.5.50-1~bpo12+1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
E: An unexpected failure occurred, exiting...
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Traceback (most recent call last):
  File "/vyos/./build-vyos-image", line 788, in <module>
    build()
  File "/vyos/./build-vyos-image", line 722, in build
    cmd("lb build 2>&1")
  File "/vyos/scripts/image-build/utils.py", line 89, in cmd
    raise OSError(f"Command '{command}' failed")
OSError: Command 'lb build 2>&1' failed
Error occurred during build, not running tests!

It appears some dependencies for the Surricata build remain unsatisfied. As there were no nightly builds since 4th of June, I suspect these being affected by this too.

Details

Version
Commit 8c7bf1f
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)
Forum thread
https://forum.vyos.io/t/vyos-build-failing-to-build-image-missing-dependencies/17497

Event Timeline

Due to being unable to edit the OP (complains about policy changes I'm not actively performing), here is the link to the related forum thread: https://forum.vyos.io/t/vyos-build-failing-to-build-image-missing-dependencies/17497

syncer lowered the priority of this task from High to Normal.Jun 8 2026, 11:08 AM
syncer set Forum thread to https://forum.vyos.io/t/vyos-build-failing-to-build-image-missing-dependencies/17497?_gl=1*juqit4*_gcl_au*OTgxMTI0OTguMTc3NzExNjE4NS4xMDA4Nzc2NzY1LjE3Nzc0Njk1MjkuMTc3NzQ2OTUyOA...
syncer changed Forum thread from https://forum.vyos.io/t/vyos-build-failing-to-build-image-missing-dependencies/17497?_gl=1*juqit4*_gcl_au*OTgxMTI0OTguMTc3NzExNjE4NS4xMDA4Nzc2NzY1LjE3Nzc0Njk1MjkuMTc3NzQ2OTUyOA.. to https://forum.vyos.io/t/vyos-build-failing-to-build-image-missing-dependencies/17497.

Thank you for tackling this so fast!

Unfortunately, I now encounter a new build issue at the SBOM generation step:
...
Is this also a missing dependency in the build environment or something I have to take care about in my local setup?

nvm, that was an oversight on my side, I was using the wrong docker tag.

Viacheslav assigned this task to asklymenko.