当我尝试在Debian Vagrant中使用Firefox时出现错误

时间:2016-01-25 18:53:36

标签: firefox debian vagrant

我使用以下命令在我的debian vagrant中安装了firefox:

sudo nano /etc/apt/sources.list
Add line in this file: deb http://packages.linuxmint.com debian import
sudo apt-get update
sudo apt-get install firefox

当我尝试使用firefox时,我收到错误:

vagrant@packer-debian-7:~$ firefox -v
XPCOMGlueLoad error for file /opt/firefox/libxul.so:
libXdamage.so.1: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

我该怎么处理这个问题?

2 个答案:

答案 0 :(得分:0)

好吧,它似乎需要一个库。尝试使用以下命令安装它:

sudo apt-get install libxdamage1

答案 1 :(得分:0)

修复错误:

sudo apt-get install openjdk-7-jre-headless
sudo apt-get install -f