Having errors when installing software

sudo snap install snap-store

2024/07/01 15:34:38.090293 logger.go:93: DEBUG: snap (at “/snap/core/current”) is older (“2.61.4”) than distribution package (“2.63+22.04”)

error: cannot perform the following tasks:

not sure how to fix have tried re-installing not sure why it says my current core is outdated

nap refresh core 2024/07/01 16:13:06.392481 logger.go:93: DEBUG: snap (at “/snap/core/current”) is older (“2.61.4”) than distribution package (“2.63+22.04”) 2024/07/01 16:13:10.852264 logger.go:93: DEBUG: error: snap has no updates available snap “core” has no updates available

What is the full output of snap version on your system ?

this is the full output

2024/07/02 11:25:38.325303 logger.go:93: DEBUG: snap (at “/snap/core/current”) is older (“2.61.4”) than distribution package (“2.63+22.04”)

snap 2.63+22.04

snapd 2.63+22.04

series 16

linuxmint 21.3

kernel 6.5.0-41-generic

can you run nslookup canonical-bos01.cdn.snapcraftcontent.com and post the output?

here is the nslookup thing

;; communications error to 127.0.0.53#53: timed out

;; communications error to 127.0.0.53#53: timed out

;; communications error to 127.0.0.53#53: timed out

;; no servers could be reached

DNS name resolution apparently does not work in your system. You’ll have to address that first.

1 Like

how would I go about doing that. I’m only vaguely familiar with what a DNS is.

I have looked into it and it appears my system does not have any of the things wrong other systems with the DNS name resolution has.

My ect/resolv.conf has stuff there. Pinging other sites work. Internet works fine.

Perhaps some things work, but nslookup clearly does not. It uses a resolver from glibc, which is also used by snapd. So until this is fixed you will experience issues installing snaps.

What’s the output if you run nslookup canonical-bos01.cdn.snapcraftcontent.com 8.8.8.8 ?

same thing

;; communications error to 8.8.8.8#53: timed out

;; communications error to 8.8.8.8#53: timed out

;; communications error to 8.8.8.8#53: timed out

;; no servers could be reached

could disabling systemd-resolved fix this?

Maybe it’s worth a shot. OTOH, adding an explicit DNS server in command line for nslookup should bypass all of that, but it still clearly did not work. Do you have a fiewall set up to block UDP traffic to/from port 53?

no I shouldn’t have a firewall set up unless it was a default that linux mint installed. I will look into setting up and DNS server in the command line but I’ve only been using linux for 2 weeks so I’m not very adept with how any commands work.

would you happen to be able to link a guide or something cause I’m not sure I’m doing it right or finding the right information and I haven’t been able to fix the problem.

Your DNS domain name resolution isn’t working due to the broken UDP communication to the DNS server, without a proper analysis we can only help you this much.

Boot your computer into a Ubuntu installation live system and try to reproduce it again, if it still doesn’t work it is likely your internet service provider is blocking the traffic and you’ll have to contact them for support.

How do you connect to the internet? If you’re using an HTTP(S) proxy you must configure snapd to also use them.

I don’t have any proxies. I just connect with wifi to the modem.

Turn off and on your Modem and/or Wi-Fi access point and retry.

didn’t work, I don’t know what to do

Try this one:

We must rule out the possibility of software misconfiguration.

1 Like