Repeated messages regarding host resolution during install

Not sure if relevant, but here goes anyway. This is a fresh v60 install on a new Ubuntu 22 LTS. I noticed some messages here and there during the install:
sudo: unable to resolve host Temporary failure in name resolution

What seems to fix it (or at least the message does not show anymore :grinning:) I got from here.

In a nutshell, find the hostname with cat /etc/hostname and add a line in /etc/hosts:

cat /etc/hostname

nano /etc/hosts
and add the line with and add the hostname as above

# /etc/hosts       localhost

# The following lines are desirable for IPv6 capable hosts
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.