Vyos-build failing to build image, missing dependencies

As the title says, it appears something about the surricata build changed, causing the current build process fail due to missing dependencies. I’ve already created a bug report, just wanted to raise the issue here as well (and crosslink the report and the forum entry).

Best regards

I can confirm that:

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...

and this is because of

Del libhtp2 1:0.5.50-1~bpo12+1 [72.6 kB]

The missing dependency was fixed, awesome!

However, I still fail to build correctly, now I encounter this issue, seemingly around the end of the build process:

...
The following packages will be REMOVED:
  zsync*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 228 kB disk space will be freed.
(Reading database ... 27901 files and directories currently installed.)
Removing zsync (0.6.2-5) ...
[2026-06-08 20:26:01] lb chroot_prep remove dpkg tmpfs sysv-rc hosts resolv hostname apt
[2026-06-08 20:26:01] lb chroot_apt remove
P: Deconfiguring file /etc/apt/apt.conf
[2026-06-08 20:26:01] lb chroot_hostname remove
P: Deconfiguring file /etc/hostname
P: Deconfiguring file /bin/hostname
[2026-06-08 20:26:02] lb chroot_resolv remove
P: Deconfiguring file /etc/resolv.conf
[2026-06-08 20:26:02] lb chroot_hosts remove
P: Deconfiguring file /etc/hosts
[2026-06-08 20:26:02] lb chroot_sysv-rc remove
P: Deconfiguring file /usr/sbin/policy-rc.d
[2026-06-08 20:26:02] lb chroot_tmpfs remove
[2026-06-08 20:26:02] lb chroot_dpkg remove
P: Deconfiguring file /sbin/start-stop-daemon
[2026-06-08 20:26:02] lb chroot_prep remove devpts proc selinuxfs sysfs
[2026-06-08 20:26:02] lb chroot_sysfs remove
P: Begin unmounting /sys...
[2026-06-08 20:26:02] lb chroot_selinuxfs remove
[2026-06-08 20:26:02] lb chroot_proc remove
P: Begin unmounting /proc...
[2026-06-08 20:26:02] lb chroot_devpts remove
P: Begin unmounting /dev/pts...
P: Binary stage completed
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
[2026-06-08 20:26:02] lb source 
P: Source stage disabled, skipping
P: Build completed successfully
Traceback (most recent call last):
  File "/vyos/./build-vyos-image", line 810, in <module>
    build()
  File "/vyos/./build-vyos-image", line 743, in build
    with subprocess.Popen(c, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'syft'
Error occurred during build, not running tests!

This could definitely be a purely local issue on my setup, it’s not that clear to me yet. I’d appreciate any help.

EDIT: It indeed was an oversight on my end, I was still using the outdated docker tag ‘current’ instead of ‘rolling’. The build is working again! Marking as solved :slight_smile: