VirtualBox installation error

Hello!
An error occurs during installation execution (in the final step).

error: Running %post for akmod-VirtualBox: bwrap(/bin/sh): Дочерний процесс убит по сигналу 1; r
un journalctl -t 'rpm-ostree(akmod-VirtualBox.post)' for more information
How can the error be fixed?

I might be wrong here but i believe packages that require akmods have to be installed directly into the image (as in you need to make your own image and add it there, then rebase to that image). Since virtualbox requires installing a kernel module, sometimes that kernel module will not work with newer kernels, which is why i personally switched over to qemu a decade ago and have not touched virtualbox since.

For virtual machines i wrote in support for configuring Virt-Manager and qemu on bazzite as support for that is built directly into the linux kernel and is the virtualization solution that has been actively tested (by me).
You can get virt-manager and qemu installed using this command on any bazzite desktop image

ujust enable-virtualization

and it should cover most peoples needs as long as you are not locked into using virtualbox due to some weird dependency for something.