Just tried running your script on my RPi3b using the - all option, It took quite a few hours BUT everything went well until Part 7 the kstars compile. It failed because it could not find eigen3. After doing a manual apt-get install again for libeigen3-dev and doing only the kstars compile all went well.
Kstars worked and Ekos was there --- YIPPEE. __
Big thank you for sorting this.
I will now run it on my main system using a RPi4 with ssd.