Can't Install HomeAssistant on Generic x86-64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")

Hello, I followed the guide on Home Assistant for installing HAOS on an old x64 laptop I had laying around. I imaged it with a live Ubuntu USB, and it successfulyl installed. It is also wired up to my home network with an Ethernet cable.
I am able to access http://homeassistant.local:8123/ and http://homeassistant.local:4357/ from my computer. The 4357 port (supervisor) shows Connected, Supported, and Healthy for all options.
The 8123 port shows the installation screen, with a red banner on the top saying “An error occured while installing Home Assistant, check the logs below for more information.” What I gather to be the most important part is as follows:

[supervisor.docker.interface] Updating image ghcr.io/home-assistant/generic-x86-64-homeassistant:landingpage to ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.4.3
[supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/generic-x86-64-homeassistant with tag 2024.4.3.
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.4.3: 500 Server Error for http+docker://localhost/v1.44/images/create?tag=2024.4.3&fromImage=ghcr.io%2Fhome-assistant%2Fgeneric-x86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": context deadline exceeded")
[supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec

It tries to update the Docker image from ghcr.io, takes a while, fails, and then tries again in a seemingly infinite loop.
After researching this problem, I found that it could be related to DNS. So, I used the CLI to change HA’s DNS servers to dns://8.8.8.8 and dns://8.8.4.4 and rebooted, but this didn’t fix the problem.
I’ve tried to find others with the same issue, but it seems that most people don’t choose Generic x86-64 for HomeAssistant.
Any ideas?