[英]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当我尝试运行通过 snap 安装的任何应用程序(例如 VSCode、Spotify 和 Bitwarden)时,Snap 突然开始抛出错误,直到昨天才出现这种情况,我对系统所做的唯一显着更改是我已经安装了我的终端机的 nerd-fonts,我认为这里没有任何问题
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 -如果有帮助,这是我的 /var/log/syslog -
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日志中特别感兴趣的行
Dec 8 19:46:04 pop-os-darshit systemd[2407]: Started snap.code.code.6db8cb33-bf07-44a8-8db5-949e29732cd7.scope.
I have tried to google this error but haven't found anyone having the exact match我试图用谷歌搜索这个错误,但没有找到完全匹配的人
Got a lot of similar issue on PopOS.在 PopOS 上有很多类似的问题。 22:04 with:
22:04 与:
Tried to installed them from sources, nothing changed.试图从源代码安装它们,没有任何改变。
Update: I tried to gather more informations:更新:我试图收集更多信息:
snap -vvv run juju
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x563535c52d95]
goroutine 1 [running]:
main.main.func1()
/build/snapd/parts/snapd-deb/build/cmd/snap/main.go:492 +0x95
panic(0x5635362f7840, 0x563536971900)
/usr/lib/go-1.13/src/runtime/panic.go:679 +0x1b6
main.run(0xc0003f3db8, 0xe)
/build/snapd/parts/snapd-deb/build/cmd/snap/main.go:559 +0x375
main.main()
/build/snapd/parts/snapd-deb/build/cmd/snap/main.go:497 +0x371
Another update:另一个更新:
After searching a bit more I found: https://forum.snapcraft.io/t/solved-snap-refused-by-apparmor/20396经过更多搜索后,我发现: https://forum.snapcraft.io/t/solved-snap-refused-by-apparmor/20396
Maybe you have an issue with apparmor?也许您对 apparmor 有疑问?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.