本文介绍了通过yum安装Fiware-Cygnus时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过yum安装Fireware Cygnus

i am trying to install the Fireware Cygnus via yum

yum install cygnus-ngsi

但是在中间我有一些错误.

But in the middle i got some erros.

Transaction Check Error:
  file /usr/cygnus/init.d/cygnus from install of cygnus-common-1.2.0-0.gbd4790e.x86_64 conflicts with file from package cygnus-0.13.0-0.g0c6765f.x86_64
-......

我检查了/usr 目录,但是/cygnus/init.d没有任何内容,依此类推...

i checked the /usr directory but there is nothing with /cygnus/init.d and so on...

可能以前曾经有过什么但谁知道.我也尝试清理yum repo,但是错误仍然存​​在.有人有主意吗?

It is possible that there have been something before but who knows.I also tried to clean yum repo but the error still exists. Does anyone have an idea ?

推荐答案

尝试以下命令以删除所有Cygnus内容:

Try the following command in order to remove all Cygnus stuff:

sudo rpm -e -vv --allmatches --nodeps --noscripts --notriggers cygnus
sudo rpm -e -vv --allmatches --nodeps --noscripts --notriggers cygnus-ngsi

第一个命令将删除与Cygnus 1.0.0发行版相关的所有内容,第二个命令将删除1.0.0发行版之后的所有内容.

The first command will remove everything regarding Cygnus pre release 1.0.0, the second one will remove everything post release 1.0.0.

希望这会有所帮助!

注意:从Cygnus 1.0.0开始,代码被拆分为cygnus-common(所有Cygnus代理的通用实用程序和类的库)和NGSI特定代理cygnus-ngsi(此后) ,其他贡献者为Cygnus添加了更多代理,例如瓦伦西亚大学的cygnus-twitter.这就是为什么在1.0.0版之前,Cygnus以yum install cygnus的形式安装,而在1.0.0版之后,其以yum install cygnus-ngsi的形式安装.

NOTE: from Cygnus 1.0.0 the code was split into cygnus-common, a library of common utils and classes for all Cygnus agents, and cygnus-ngsi, a NGSI specific agent (after that, other contributors have added more agents to Cygnus , such as cygnus-twitter by Universidad Politécnica de Valencia). That's why before release 1.0.0 Cygnus was installed as yum install cygnus and after 1.0.0 it is installed as yum install cygnus-ngsi.

这篇关于通过yum安装Fiware-Cygnus时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-09 06:28