[英]Unable to install Ruby gem unf_ext 0.7.4 on Ubuntu
I am having a hell of a time installing unf_ext 0.7.4
on Ubuntu. 我
unf_ext 0.7.4
在Ubuntu上安装unf_ext 0.7.4
。 I've tried every form of Google searching you can possibly imagined and installed almost everything I could think of, here's what I've installed so far: 我已经尝试了您可以想象的各种形式的Google搜索,并安装了几乎所有我能想到的东西,这是到目前为止我已经安装的内容:
However after having all of these installed it still does not work, so I tried 但是,在安装了所有这些功能后,它仍然无法正常工作,因此我尝试了
sudo apt-get update && sudo apt-get install libxml2-dev && sudo apt-get install libxslt-dev && sudo gem install unf_ext
During that I get this error: 在此期间,我得到此错误:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libxml2-dev : Depends: libxml2 (= 2.9.1+dfsg1-3ubuntu4.9) but 2.9.4+dfsg1-2.2 is to be installed
E: Unable to correct problems, you have held broken packages.
However, dpkg --get-selections
displays no packages on hold
and all are installed. 但是,
dpkg --get-selections
显示任何hold
软件包,并且所有软件包都已安装。 How can I successfully get this gem installed? 我如何成功安装此gem?
I ran into a similar issue with installing unf_ext on Ubuntu. 我在Ubuntu上安装unf_ext时遇到了类似的问题。 I had to add a swapfile to my server.
我必须在服务器上添加交换文件。 Once I did that I was able to install the unf_ext gem.
一旦完成,就可以安装unf_ext gem。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.