簡體   English   中英

無法在Ubuntu上安裝Ruby gem unf_ext 0.7.4

[英]Unable to install Ruby gem unf_ext 0.7.4 on Ubuntu

unf_ext 0.7.4在Ubuntu上安裝unf_ext 0.7.4 我已經嘗試了您可以想象的各種形式的Google搜索,並安裝了幾乎所有我能想到的東西,這是到目前為止我已經安裝的內容:

  • libgmp-dev的
  • 紅寶石開發
  • 的zlib1g-dev的
  • liblzma-dev的
  • 建立必要的
  • 構建基本補丁
  • libxml2的
  • libxslt1.1
  • OpenSSL的
  • libreadline6
  • libreadline6-dev的
  • 卷曲
  • git的核心
  • 的zlib1g
  • 的zlib1g-dev的
  • 的libssl-dev的
  • libyaml-dev的
  • libsqlite3-0
  • libsqlite3-dev的
  • sqlite3(在某處找到一個鏈接說有幫助嗎?)
  • 的libxml2-dev的
  • 的libxslt-dev的
  • autoconf的
  • libc6的-dev的
  • ncurses的開發
  • automake的
  • libtool的
  • 野牛

但是,在安裝了所有這些功能后,它仍然無法正常工作,因此我嘗試了

  • sudo apt-get update && sudo apt-get install libxml2-dev && sudo apt-get install libxslt-dev && sudo gem install unf_ext

在此期間,我得到此錯誤:

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.

但是, dpkg --get-selections顯示任何hold軟件包,並且所有軟件包都已安裝。 我如何成功安裝此gem?

我在Ubuntu上安裝unf_ext時遇到了類似的問題。 我必須在服務器上添加交換文件。 一旦完成,就可以安裝unf_ext gem。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM