The GNOME Initial Setup utility does not set a hostname. This results in a hostname built from the IP address (very long for IPv6) and the steam installer failing because /etc/hostname doesn't exists.
/etc/hostname
Workaround by setting a hostname manually with sudo hostnamectl hostname
sudo hostnamectl hostname
There is a six year old open bug report and a two year old open merge request.