固件无法安装

fiware could not be installed

我正在尝试按照文档安装 contextBroker:https://github.com/telefonicaid/fiware-orion/blob/develop/doc/manuals/admin/install.md#using-yum-(recommended)

yum 安装失败,所以我尝试下载https://forge.fiware.org/frs/?group_id=7安装

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

然后显示 error:error:

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

谁能告诉我发生了什么事吗?

谢谢

我刚刚下载了它,看起来他们的网络服务器配置有误。他们在 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".

不下载 Forge 的 RPM,安装 Context Broker 的推荐方法如下(如 the documentation 中所述):

  • 配置 FIWARE yum 存储库(如 this post 中所述)。
  • 做(作为 root):yum install contextBroker