Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap package not loading on Manjaro Linux #113637

Closed
bpringe opened this issue Dec 31, 2020 · 5 comments
Closed

Snap package not loading on Manjaro Linux #113637

bpringe opened this issue Dec 31, 2020 · 5 comments
Assignees

Comments

@bpringe
Copy link

bpringe commented Dec 31, 2020

  • VSCode Version: Not exactly sure because I can't open it or run code, but release in Add/Remove Software is ea3859d (edit: seeing the commit message it looks like 1.52.1 is the version)
  • OS Version: Manjaro Linux
    • Release 20.2

Steps to Reproduce:

  1. Download Visual Studio Code Snap
  2. Try to open a project via the icon, nothing happens
  3. Try to open a project via code <project-dir>, see cannot query current apparmor profile: Invalid argument

Tested with insiders build 4a875e2 and it also does not work. (code command isn't found / added to path with install, but clicking the icon does nothing).

@manuel5975p
Copy link

manuel5975p commented Jan 1, 2021

Just happened to me as well
Edit: I just switched to 5.10, now it works.

@yamafaktory
Copy link

Hi there,

I'm also using Manjaro.

It seems to be directly related to the apparmor profiles for code & url-handler:

❯ aa-enabled
Yes

❯ sudo aa-status
[...]
2 profiles are in complain mode.
   snap.code.code
   snap.code.url-handler

@yamafaktory
Copy link

@bpringe I found the solution on the Manjaro forum https://forum.manjaro.org/t/snaps-stopped-working-after-2020-12-30-update/45518/11.


TL;DR ➡️ bump up the kernel to 5.10 and the issue is solved 🎉 🚀 .

@bpringe
Copy link
Author

bpringe commented Jan 7, 2021

So, I tried this, though it was my first time trying to change the kernel, and it caused my OS to not load the UI on boot. So I had to access the OS from a bootable USB + terminal to undo what I did so I could access my OS again. 😄

Just a word of caution to anyone who hasn't done this before ^. I probably did something wrong. Anyway, instead of making the snap work, I built the AUR package instead, and this has been working great for me.

@Zireael07
Copy link

Same issue here, and updating to 5.10 isn't an option unfortunately.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants