canonical / ubuntu-desktop-installer

Ubuntu Desktop Installer
GNU General Public License v3.0
538 stars 94 forks source link

Default sources.list isn't using the local mirror in offline installation #389

Open seb128 opened 3 years ago

seb128 commented 3 years ago

Doing a canary installation the sources.list uses archive.ubuntu.com and not the local mirror as ubiquity is doing

mwhudson commented 3 years ago

It certainly should use the local mirror if geoip returned successfully. Did you test while on the VPN or something? Can you provide some logs?

seb128 commented 3 years ago

Thanks for the comment, since we don't have a step to connect at the moment I just went through with an offline installation which might explain, I need to check what ubiquity is doing in those cases, it would probably make sense to use a mirror corresponding to the selected timezone if we have the available data on the ISO? (not that we have a timezone selection at the moment...)

seb128 commented 3 years ago

Testing an ubiquity installation without internet the sources.list uses the mirror corresponding to the selected timezone. Now we don't have the timezone selection in the new installer yet so we can't really try what canary is doing in this scenario.

mwhudson commented 3 years ago

Oh interesting, we don't really have anything in place for that feature today. Something to keep in mind for when the "where are you?" screen gets implemented.