卸载 Firefox 后使用sudo apt-get purge firefox
并删除.mozilla/firefox/主目录中的内容。我多次尝试再次卸载/重新安装它,但是当我运行时我总是收到此消息firefox -v
XPCOMGlueLoad error for file /opt/firefox/libxul.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
Run Code Online (Sandbox Code Playgroud)
有人知道如何解决这个问题吗?我正在使用 ubuntu 16.04 LTS
更新:我尝试删除 /opt/firefox/ 目录,这就是我运行时得到的结果sudo apt-get install firefox
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
fonts-lyx
The following NEW packages will be installed:
firefox
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 …Run Code Online (Sandbox Code Playgroud)