我使用 APT 安装了 wike。它无法运行。当我从终端运行它时,出现以下错误。
$ wike
(process:11686): Gtk-WARNING **: 02:55:41.246: Unknown key gtk-modules in /home/archisman/.config/gtk-4.0/settings.ini
bwrap: setting up uid map: Permission denied
** (wike:11686): ERROR **: 02:55:41.837: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap
如何修复?
答案1
这是由于 apparmor 最近的改变造成的。
解决方法是,创建包含以下内容的文件/etc/apparmor.d/wike
(您需要 sudo 权限)
# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"
abi <abi/4.0>,
include <tunables/global>
profile wike /usr/bin/wike flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/wike>
}
然后运行sudo systemctl restart apparmor.service