Seems Snap of cerbot classic needs an update

I got this error today on Debian 11 Bullseye:

cannot snap-exec: cannot exec "/snap/certbot/2836/bin/python3": no such file or directory

Looking, the file is there, but appears to be a symbolic link.

lrwxrwxrwx 1 root root 20 Mar 7 21:46 python3 -> ../usr/bin/python3.8

Looking in /usr/bin there is no python3.8, however python3.9 does exist.

Would it be okay to delete that and change it to python3.9?

Thanks!

1 Like

‘snap list’ please.

3 Likes

Name Version Rev Tracking Publisher Notes
certbot 2.4.0 2836 latest/stable certbot-eff✓ classic
core 14946 latest/stable canonical✓ broken
core20 1852 latest/stable canonical✓ broken

I don’t have access to a computer at the moment but I’d try

snap revert core
snap revert core20

3 Likes

error: cannot revert "core": no revision to revert to

error: cannot revert "core20": no revision to revert to

Is this a brand new installation or did it break recently?

I won’t be able to check this for another 8 hours or so but I don’t think there’s a lot you can do except try remove all the snaps in reverse order and try reinstall them.

5 Likes

This is a new installation.

Your suggestion of removing and re-installation worked out.

Thank you kindly for your assistance, and time helping!

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.