I have just tried running the script commands line by line in terminal I am getting the following
So this may be the reason for the online installer failing. Proceeding with Offline and will then tinker about to see what I can do. Can we please keep the thread open while running the offline installer please. Many thanks