Search code examples
ubuntuubuntu-20.04microk8ssnapcraft

"store.RevisionNotAvailable" error while installing a package with Snapcraft


I was trying to install microk8s on my Ubuntu 20.04.3 LTS by executing this command:

sudo snap install microk8s -- classic

However I got this error:

error: store.RevisionNotAvailable with 2 snaps

Does anyone know what is causing this error and how to fix it?

Thank you!


Solution

  • The problem was the space between the dash and "classic"...

    The correct command is:

    sudo snap install microk8s --classic