Not all versions of ubuntu are supported in the PowerShell apt repo. Build in some logic to handle this.