I spun up a new instance of Ubuntu and it installed fine.

Thanks for your help.