sudo apt-get update && upgrade for 18.04 LTS, after re-installing 'zlib-1.2.11.tar.gz' how to re-install zlib1g_1.2.11 from root access to recover from boot-fail likely started from shared library file code within build.sh file
current freeze point below..
Setting up grub-pc (2.02-2ubuntu8.20) ...
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-118-generic
Found initrd image: /boot/initrd.img-4.15.0-118-generic
Found linux image: /boot/vmlinuz-4.15.0-117-generic
Found initrd image: /boot/initrd.img-4.15.0-117-generic
.. i do not want to execute anything in my attempt, that will further corrupt the OS.. it has been a long road back!