Your pi seems to be having issues connecting to the internet. How are you connecting to the pi? Are you using a serial port, directly attached keyboard/mouse?
@roadmr redirected you to where to take this question, this is not the best forum to ask how to solve the issue, it is not snap related, which is where the expertise lies.