Snap apps not running in Kali linux

cgroup v2 is not fully supported yet, proceeding with partial confinement
cannot change profile for the next exec call: No such file or directory
snap-update-ns failed with code 1

What is the snapd package version you have? Can you run dpkg -l snapd?

A 2.51.7-2 was pushed to Debian Sid with a fix that enables snapd.apparmor.service on install. AFAIU Kali pulls the packages from Sid, so you need to update the package.

cc @arnaudr does Kali need another import?

Not exactly, Kali pulls the packages from Debian testing. So it takes a few days for a package to enter Kali, after it entered Debian Sid.

In this particular case, you can check that, on the Debian side, the package didn’t enter testing yet, it’s even longer than usual: https://tracker.debian.org/pkg/snapd. Look in the “testing migrations” board (migration refers to the migration from Sid to testing), it’s written this:

  • Blocked by: glibc
  • 6 days old (needed 5 days)

What’s happening? So there’s a glibc migration in progress, the glibc is going from 2.31 to 2.32 in Debian testing.

If you look at the dependencies of snapd 2.51.7-2, you can see that it depends on libc6 (>= 2.32).

So we have to wait until the migration is complete, there’s nothing else we can do. Keep updating your system until the new packages roll in :slight_smile:

2 Likes

If you look at the dependencies of snapd 2.51.7-2, you can see that it depends on libc6 (>= 2.32).

I found this guide. Try to clear cache and then try again.