
Unable to Contact Snap Store (KDE Neon) – Upgrading v6.2 to 24.04 LTS
If you have issues during the upgrade of KDE Neon to v24.04 LTS (Nomble Numbat) and your distribution upgrade is stuck on this message:
==> Checking connectivity with the snap store
===> Unable to contact the store, trying every minute for the next 30 minutes
===> Still unable to contact the store, trying for another 20 minutes
Your /etc/resolv.conf have got messed up byt the KDE Neon upgrade script and now your DNES resolving does not work at all.
Solution – change nameserver in /etc/resolv.conf
You need to edit resolv.conf like this (here I am using joe as an editor):
sudo joe /etc/resolv.conf
and change the line with nameserver to:
nameserver 8.8.8.8
This will ensure that you are using Google nameserver for resolving hostnames / domains. You can of course use any other nameserver you prefer.
Once you have saved the changed file, try to ping e.g. google.com:
ping google.com
If that works, you are all set. You will have to wait for maximum of 60 seconds until the distribution upgrade continues.