你遇到了一个错误,但有一个快速修复方法,我刚刚做到了,并且成功了,顺便感谢@maggotbrain。他向我指出了这条评论,并且建议的解决方案有效。因此,我可以通过执行以下操作来解决 google chrome 的此问题:
gksudo nautilus并按回车键,输入密码并再次按回车键,现在您正在以 root 权限运行 nautilus。/etc/apparmor.d/abstractions/打开ubuntu-helpers文件并在其中找到以下行:
# Allow exec of libexec applications in /usr/lib*
/usr/lib*/{,**/}* Pixr,
您将在这些行之后插入此文本块:
# From https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/964510/comments/12
# While the chromium and chrome sandboxes are setuid root, they only link
# in limited libraries so glibc's secure execution should be enough to not
# require the santized_helper (ie, LD_PRELOAD will only use standard system
# paths (man ld.so)).
/usr/lib/chromium-browser/chromium-browser-sandbox PUxr,
/opt/google/chrome/chrome-sandbox PUxr,
/opt/google/chrome/google-chrome Pixr,
/opt/google/chrome/chrome Pixr,
/opt/google/chrome/lib*.so{,.*} m,
Run Code Online (Sandbox Code Playgroud)
但在这一行之前:
# Full access
Run Code Online (Sandbox Code Playgroud)保存文件,关闭 nautilus。
最后,sudo apparmor_parser -T -W -r
/etc/apparmor.d/usr.bin.evince在终端上输入并按回车键,等待几秒钟,直到出现换行符并且光标正在等待新输入,这意味着命令执行没有问题:)希望它有帮助。
/usr/share/applications/mimeinfo.cache文件。x-scheme-handler/http=搜索包含和 的行x-scheme-handler/https=。firefox.desktop浏览器名称或任何其他浏览器名称。.desktopx-scheme-handler/http=firefox.desktop; x-scheme-handler/https=firefox.desktop;