2016-07-25 64 views
1

我想下面的文檔安裝contextBroker:https://github.com/telefonicaid/fiware-orion/blob/develop/doc/manuals/admin/install.md#using-yum-(recommended)fiware無法安裝

yum的安裝沒有工作,所以我試圖下載https://forge.fiware.org/frs/?group_id=7安裝

rpm -i contextBroker-1.2.0-1.x86_64.rpm 

那麼它顯示的錯誤:錯誤:

contextBroker-tests-1.2.1-1.x86_64.rpm: not an rpm package (or package manifest): 

請問任何請告訴我發生了什麼事?

感謝

回答

1

我只是下載了它,它看起來像他們的網絡服務器配置錯誤。他們在RPM的開頭插入HTML並破壞它。您將需要使用實用程序從頭開始刪除文本。一旦你找出要清除多少垃圾,dd可能是最簡單的。

原來的答覆(可用於保持,因爲它講述了fileyum):

"not an rpm package" sounds like the download corrupted. Try running " file " on it and see what it tells you about it. I didn't see a hash on the download page, so you can't verify with that.

yum is a nicer interface to rpm so you can try " yum localinstall contextBroker-1.2.0-1.x86_64.rpm ".

0

相反下載了僞造的RPM,安裝語境經紀人的推薦方法如下(在the documentation描述) :

  • 配置FIWARE yum存儲庫(如this post中所述)。
  • 做(作爲根):yum install contextBroker