On 2026-10-19 11:59, Liz Tuddenham wrote:
> I'm just taking my first steps with Linux and have successfully
> installed Ubuntu Server on an 80 GB partition on a Mac Mini.
What version Ubuntu Server?
> It runs in
> command-line mode.
If that is a problem to you, I would advise simply starting again with Ubuntu Desktop.
> When I try to download any further files (including
> a GUI) I get a lot of "Temporary failure resolving ...." errors.
>
> This happens with a wireless or an Ethernet connection and still occurs
> ater I have re-started the router. I am due to move to a new ISP in a
> couple of weeks, so do not want to start any correspondence with my
> current ISP.
Yes, I'm afraid this seems to be a common problem with IP4 on various versions of Ubuntu, I think IP6 may actually work, but, because here in Scotland, I use a mobile broadband connection which doesn't support IP6, I can't actually tell.
As far as IP4 is concerned, almost certainly the fix will vary with what version you have installed. I have fixes for versions 16 and 18 which I give below, but you've probably installed a later version, and it's possible that neither will work. Unless you actually have installed 16, I'd give the 18 fix a try and see if that resolves the problem.
Ubuntu v18
Note: Beware unwanted line wrap in the middle line.
sudo sed -i -e 's~^hosts:.*$~hosts: files dns # mdns4_minimal [NOTFOUND=return] myhostname~' /etc/nsswitch.conf
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
Ubuntu v16
Note: Beware unwanted line wrap in the last line.
sudo systemctl disable systemd-resolved.service
sed -i -e 's~dns=dnsmasq~# dns=dnsmasq~' /etc/NetworkManager/NetworkManager.conf
--
Fake news kills!
I may be contacted via the contact address given on my website: www.macfh.co.uk