Let me know if you need more info. I’m not knowledgeable with the architecture of snap/snappy/snapcraft
22:57 [nodakai@d9] ~$ snap version
snap 2.45.2-1
snapd 2.45.2-1
series 16
debian -
kernel 5.7.0-1-amd64
23:01 [nodakai@d9] ~$ snap run firefox
/usr/lib/snapd/snap-confine: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
23:01 [nodakai@d9] ~$ snap run code
/usr/lib/snapd/snap-confine: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
23:01 [nodakai@d9] ~$ ldd /usr/lib/snapd/snap-confine
linux-vdso.so.1 (0x00007ffc53131000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f331980f000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f3319803000)
libapparmor.so.1 => /usr/lib/x86_64-linux-gnu/libapparmor.so.1 (0x00007f33197ef000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f33197cd000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3319608000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3319871000)