mattmcspirit / azurestack

Azure Stack Resources
80 stars 41 forks source link

Failed Ubuntu 16.04 download #90

Closed mclgoerg closed 5 years ago

mclgoerg commented 5 years ago

Download of Ubuntu 16.04 LTS zip The download for the Ubuntu 16.04 LTS image failed. It seems like that the release https://cloud-images.ubuntu.com/releases/16.04/release-20181223/ is empty.

Error message Failed to download 'https://cloud-images.ubuntu.com/releases/16.04/release-20181223/ubuntu-16.04-server-cloudimg-amd64-disk1.vhd.zip'. Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."

mattmcspirit commented 5 years ago

Thanks - good catch, I missed this (for ASDKs that aren't being registered) - edit the AddImage.ps1 (in your C:\ConfigASDK\Scripts folder) file, line 341, to read:

$vhdVersion = "16.04.20190514"

then rerun. That should fix things. I've fixed in the next build also.

Thanks! Matt

mclgoerg commented 5 years ago

I just saw that you already changed this in your newest branch. Sorry


Hi Matt,

i guess the issue occurs earlier in the .\ConfigASDKdependencies.ps1 script at line 390-391. I changed the following:

$row = $table.NewRow(); $row.Uri = "https://cloud-images.ubuntu.com/releases/16.04/release-20181223/ubuntu-16.04-server-cloudimg-amd64-disk1.vhd.zip"

To:

$row = $table.NewRow(); $row.Uri = "https://cloud-images.ubuntu.com/releases/16.04/release-20190514/ubuntu-16.04-server-cloudimg-amd64-disk1.vhd.zip"

The download works without any problems.

Thanks :) Marcel

mattmcspirit commented 5 years ago

Thanks - I've also updated the offline version also - thanks!