Netherland mirrors everywhere?

Ubuntu Version:
https://releases.ubuntu.com/24.04/ubuntu-24.04.2-live-server-amd64.iso

Desktop Environment (if applicable):
N/A

Problem Description:
All my VMs and bare metal deployments that use above mentioned ISO start off with nl.archive.ubuntu.com as the main mirror:

Must be a glitch, I took the links you posted to see if I could recreate.

Is there a VPN involved?

1 Like

Nope, but it is so consistent, it’s scary!

I think there is some “smart” geoIP detection happening in subiquity/subiquity/models/mirror.py at main · canonical/subiquity · GitHub that leads to this hiccup. Gotta set some fixed mirrors…

autoinstall:
  apt:
    mirror-selection:
      primary:
        - uri: "http://archive.ubuntu.com/ubuntu"

Confirmed: subiquity/doc/reference/autoinstall-reference.rst at main · canonical/subiquity · GitHub

curl https://geoip.ubuntu.com/lookup
<?xml version="1.0" encoding="UTF-8"?>
<Response>
	<Ip>definitely.a.US.IP</Ip>
	<Status>OK</Status>
	<CountryCode>NL</CountryCode>
	<CountryCode3>Unknown</CountryCode3>
	<CountryName>The Netherlands</CountryName>
	<RegionCode>Unknown</RegionCode>
	<RegionName>Unknown</RegionName>
	<City>None</City>
	<ZipPostalCode></ZipPostalCode>
	<Latitude>52.3824</Latitude>
	<Longitude>4.8995</Longitude>
	<AreaCode>None</AreaCode>
	<TimeZone>Europe/Amsterdam</TimeZone>
</Response>

My fix will be

autoinstall:
  apt:
    geoip: false
2 Likes

You should also file a bug with ubuntu-bug subiqity to make sure the database gets fixed for future installations… (Note that subiqity is a snap nowadays that can be fixed completely independent of the release cycle so any fixes will be available immediately to all releases, you won’t have to wait for the next LTS or some such)

3 Likes

I raised it as an issue to Equinix, the owners of that IP range. I assume they have other customers with these issues.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.