visual-studio-codesnapcraftsnap

Snap throws error when trying to run 'code' (VSCode) or any other snap package


Suddenly Snap has started throwing error when ever i try to run any app such as VSCode, Spotify and Bitwarden that is installed via snap, this was not the case until yesterday and the only notable change i have made to my system is that i have installed nerd-fonts for my terminal which i assume to not be of any problem here


Here are the commands i tried that have thrown this error -

foo@bar:~$ code
foo@bar:~$ spotify
foo@bar:~$ bitwarden
foo@bar:~$ snap run <app>

All these commands throw the same new error which was not the case until now -

/snap/snapd/17883/usr/lib/snapd/snap-confine: symbol lookup error: /snap/snapd/17883/usr/lib/snapd/snap-confine: undefined symbol: , version GLIBC_2.2.5

Here is my /var/log/syslog if it helps any -

foo@bar:~$ tail -f /var/log/syslog
Dec  8 19:44:45 pop-os-darshit rtkit-daemon[1226]: message repeated 7 times: [ Supervising 7 threads of 4 processes of 1 users.]
Dec  8 19:45:19 pop-os-darshit systemd[2407]: Started VTE child process 74376 launched by gnome-terminal-server process 67723.
Dec  8 19:45:21 pop-os-darshit kernel: [44347.768056] IPv6: MLD: clamping QRV from 1 to 2!
Dec  8 19:45:27 pop-os-darshit kernel: [44353.910138] IPv6: MLD: clamping QRV from 1 to 2!
Dec  8 19:45:31 pop-os-darshit gnome-shell[2622]: g_source_remove: assertion 'tag > 0' failed
Dec  8 19:45:33 pop-os-darshit kernel: [44359.851088] IPv6: MLD: clamping QRV from 1 to 2!
Dec  8 19:45:39 pop-os-darshit kernel: [44365.789843] IPv6: MLD: clamping QRV from 1 to 2!
Dec  8 19:45:45 pop-os-darshit kernel: [44371.937758] IPv6: MLD: clamping QRV from 1 to 2!
Dec  8 19:45:51 pop-os-darshit kernel: [44377.872728] IPv6: MLD: clamping QRV from 1 to 2!
Dec  8 19:45:57 pop-os-darshit kernel: [44383.811886] IPv6: MLD: clamping QRV from 1 to 2!
Dec  8 19:46:03 pop-os-darshit kernel: [44389.957269] IPv6: MLD: clamping QRV from 1 to 2!
Dec  8 19:46:04 pop-os-darshit systemd[2407]: Started snap.code.code.6db8cb33-bf07-44a8-8db5-949e29732cd7.scope.
Dec  8 19:46:09 pop-os-darshit kernel: [44395.990775] IPv6: MLD: clamping QRV from 1 to 2!

Line that is of particular interest in log

I have tried to google this error but haven't found anyone having the exact match


Solution

  • It happened to me as well. I tried to reinstall go with Snap but it didn't work out. Also, it fails open vscode.

    After a reboot, it works now.