Unable to install snaps!


Whenever I tried to install snaps from the store I get this error messge:

$ snap install deja-dup --classic
error: cannot perform the following tasks:
- Download snap "core18" (941) from channel "stable" (Get https://fastly.cdn.snapcraft.io/download-origin`/fastly/CSO04Jhav2yK0uz97cr0ipQRyqg0qQL6_941.snap?token=1558278000_d07457c989061d67e3a83e1c82200ad8f1183116: dial tcp: lookup fastly.cdn.snapcraft.io: no such host)`

How can I fix this issue?

Looks like a local DNS issue. That host resolves fine here…

alan@KinkPad-K450:~$ host fastly.cdn.snapcraft.io
fastly.cdn.snapcraft.io is an alias for t2.shared.us-eu.fastly.net.
t2.shared.us-eu.fastly.net has address

It seems snapcraft.io don’t work fine today. The issue fixed after running the command many times.