Astpp Version 5.0 does not install on Debian 10 and 11

There seems an issue with the newest updates on Debian 10 and ASTPP. I have noticed even the iNextrix install script for version 5 is also very broken on Debian 10. In addition, older installs with have been successful on Debian 10, and you update it, ASTPP is now broken.