Snap does not install without --dangerous flag

I got this error when installing obsidian using snap on ubuntu.

error: cannot find signatures with metadata for snap "obsidian_0.10.1_amd64.snap"

I got this solution after a search that --dangerous flag was required.

I wanted to know if there are any plans to change this?

Steps to reproduce

download snap file and install using cmd - sudo snap install obsidian_0.10.1_amd64.snap

Environment

  • Operating system: ubuntu 20.10
  • Obsidian version: 0.10.1

you have to use --dangerous for all the snaps that are not sourced throught the snapstore. We have no short term plans to submit the app to the snapstore.

Thanks for the quick reply. I have installed it.

As at Nov 2022, I had to use both the dangerous and classic flags as such:

snap install --dangerous --classic obsidian_1.0.3_amd64.snap

I originally tried just the dangerous flag, as advised, which let me know I actually needed classic, but it wasn’t entirely clear that is needed to be added to, not used in place of the dangerous flag, as below.

john@machine:~/Downloads$ snap install --dangerous obsidian_1.0.3_amd64.snap 
error: This revision of snap "obsidian_1.0.3_amd64.snap" was published using
       classic confinement and thus may perform arbitrary system changes
       outside of the security sandbox that snaps are usually confined to,
       which may put your system at risk.

       If you understand and want to proceed repeat the command including
       --classic.
3 Likes

Those flags should be mentioned in the installation instructions.

1 Like

I arrived here because I had the same issue installing it.

❯ sudo snap install --dangerous --classic obsidian_1.1.9_amd64.snap
obsidian 1.1.9 installed

I installed it with the flags.
But how can I start it next?
There is no obsidian command after the installation to start it.