Supervised Debian 11 installation

Hi!

After the SSD of my Home Assistant installation died, I am reinstalling on an old machine I had lying around. I followed these guidelines for a supervised install on Debian 11. Everything works like a charm, except for the last step (the home assistant installation).

Relevant output:

(...)
[info] Restarting NetworkManager
[info] Restarting docker service
ping: version.home-assistant.io: Name or service not known
[info] Waiting for version.home-assistant.io - network interface might be down...
PING version.home-assistant.io (104.26.5.238) 56(84) bytes of data.
64 bytes from 104.26.5.238 (104.26.5.238): icmp_seq=1 ttl=59 time=18.1 ms

--- version.home-assistant.io ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 18.093/18.093/18.093/0.000 ms
[info] Install supervisor Docker container
Error response from daemon: Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on [::1]:53: read udp [::1]:43041->[::1]:53: read: connection refused
(...)

Probably something trivial but I cannot seem to figure it out. Any ideas?

Seems similar to this one. I added ghcr.io to /etc/hosts and that did the trick.

I too had a similar problem. During the last step the installer tried to ping checkonline.home-assistant.io. For unknown reasons the DNS returned only the IPv6 address and for very obscure reasons my debian machine (that lives in VMware) was not able to get a connection.

So I found the IPv4 address and put it in hosts. The installation then arrived to its end but the IPv6 problems are still there.
Thanks for the hint.