/usr/bin/snap disappeared suddenly

I had some applications installed via snap that were running perfectly until today.

When I started my computer I was not able to launch them.

These applications still show on my apps list but clicking on one doesn't launch it.

Also trying to start them via terminal results in a command not found error, even thought my shell suggests the command.

Another thing is that the applications still exist in ~/snap and /snap but in the second directory they link to /usr/bin/snap which seems to have vanished.

I can't use the snap command anymore.

I'm on Ubuntu 20.04.3 LTS and didn't do any update before the issue, and after getting that problem I updated but nothing changed.

Thanks for your help.

5

1 Answer

Apparently, uninstalling either openssh-client or openssh-server removes snapd but doesn't install it back after the reinstall. So I had to reinstall snapd manually with sudo apt install snapd.
Thanks to @Jos.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like