Freepbx 17 installation on VBox

I tried running the script on debian but I’m facing the same error line as in this post:

Also i had to add raw.github to known hosts, otherwise couldn’t download the script.

Why everything works always on tutorials but never in real life… And i spent hours trying to make it work and still..