I’m facing a problem where the process of building a VM using Vagrant halts due to an error with the installation of
bionic: + sudo apt-get install -y bc libtool-bin gperf bison flex texi2html texinfo help2man gawk libtool build-essential automake libglib2.0-dev libfdt-dev device-tree-compiler qemu-user-static binfmt-support multistrap git lib32z1 lib32stdc++6 libssl-dev kpartx dosfstools nfs-common zerofree u-boot-tools rpm2cpio curl libsdl1.2-dev libpixman-1-dev libc6-dev chrpath socat zlib1g-dev zlib1g:i386 unzip rsync python3-pip gcc-multilib xterm net-tools libidn11 ninja-build python3-testresources libncurses5-dev lib32ncurses5 bionic: Reading package lists... bionic: Building dependency tree... bionic: Reading state information... bionic: E: Unable to locate package zlib1g:i386 The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.
vagrant reload afterwards completes the process of creating the VM, but the VM itself is just a shell terminal with no GUI.
Is there any way to avoid this issue and complete the VM set up correctly?