我在自己的服务器上安装contextBroker时遇到了一些问题。我安装了一个CentOS。我正在尝试用yum安装contextBroker。我已按照(https://stackoverflow.com/a/24510985/4953537)中的说明设置了存储库
尝试安装时的输出:
yum install contextBroker
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ftp.plusline.de
* epel: mirror.proserve.nl
* extras: mirror.softaculous.com
* updates: mirror.netcologne.de
No package contextBroker available.
Error: Nothing to doyum repolist的输出
yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.plusline.de
* epel: mirror.proserve.nl
* extras: mirror.softaculous.com
* updates: mirror.netcologne.de
repo id repo name status
base CentOS-6 - Base 4926
epel Extra Packages for Enterprise Linux 6 - i386 9467
extras CentOS-6 - Extras 34
mongodb MongoDB Repository 269
testbed-fi-ware Fiware Repository 108
updates CentOS-6 - Updates 864
repolist: 15668这里我漏掉了什么?
更新:
cat /etc/yum.repos.d/testbed-fi-ware.repo
[testbed-fi-ware]
name=Fiware Repository
baseurl=http://repositories.testbed.fi-ware.org/repo/rpm/x86_64/
gpgcheck=0
enabled=1"rpm -qa | grep contextBroker“不提供任何输出
更新:
我尝试手动安装软件包,并安装了https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Subscribe_Broker_-_Orion_Context_Broker_-_Installation_and_Administration_Guide#Installing上列出的所有依赖项
The contextBroker package (mandatory) depends on the following packages: boost-filesystem, boost-thread, libmicrohttpd (new requirement in 0.8.0), logrotate (new requirement in 0.13.0), libcurl (new requirement in 0.14.1) and boost-regex (new requirement in 0.22.0).尽管如此,在安装RPM包( sudo rpm -i http://repositories.testbed.fiware.org/repo/rpm/x86_64/contextBroker-0.22.0-1.x86_64.rpm)时,我得到:
Failed dependencies:
ld-linux-x86-64.so.2()(64bit) is needed by contextBroker-0.22.0-1.x86_64
ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libboost_filesystem-mt.so.5()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libboost_regex-mt.so.5()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libboost_system-mt.so.5()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libboost_thread-mt.so.5()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libc.so.6()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libc.so.6(GLIBC_2.3.2)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libcurl.so.4()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libgcc_s.so.1()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libgcc_s.so.1(GCC_3.0)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libm.so.6()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libmicrohttpd.so.10()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libpthread.so.0()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by contextBroker-0.22.0-1.x86_64
librt.so.1()(64bit) is needed by contextBroker-0.22.0-1.x86_64
librt.so.1(GLIBC_2.2.5)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libstdc++.so.6()(64bit) is needed by contextBroker-0.22.0-1.x86_64
libstdc++.so.6(CXXABI_1.3)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libstdc++.so.6(GLIBCXX_3.4)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.10)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.11)(64bit) is needed by contextBroker-0.22.0-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by contextBroker-0.22.0-1.x86_64为什么我会得到这个?
发布于 2015-06-04 00:12:40
有时,yum不会在存储库中检测到新的包。在这种情况下,我发现可以使用以下命令来帮助您:
yum clean all接下来,再试一次
yum install contextBroker发布于 2015-06-05 03:15:37
另一种方法是使用rpm命令直接从存储库安装,例如:
sudo rpm -i http://repositories.testbed.fiware.org/repo/rpm/x86_64/contextBroker-0.22.0-1.x86_64.rpm然而,在这种情况下,如果某些包依赖失败,您将需要手动处理它。
编辑:在依赖关系出现问题的情况下,您可以使用以下命令来了解哪个包提供了每个依赖关系:
yum whatprovides libboost_filesystem-mt.*
yum whatprovides libstdc++.so.6但是,不确定这在您的情况下是否有效,因为一开始yum install contextBroker中的失败让我认为如果yum在您的环境中不能很好地工作……
https://stackoverflow.com/questions/30617387
复制相似问题