Error with installation script on clean install

So I had to run a backup to restore my machine to working order. However, now it seems that running the script for gpl OR pro does nto work for me.

install.sh: line 578: /tmp/.virtualmin-9670/9670.os: No such file or directory

Any ideas on how to fix this?

nvm. I removed the perl package. Ran script intentionally. Got error. Reinstalled perl, re-ran script. Works now.