我正在尝试在linux机器(EL 6)上安装puppet-dashboard。但是这个安装被依赖于rubygems(rake)阻止了。但我已经在我的机器上安装了这个。
请找到以下详细信息,这可能有助于向我展示前进的方向。
[admin@server ~]$ ruby -v
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
[admin@server ~]$ gem list
YAML safe loading is not available. Please upgrade psych to a version that supports safe loading (>= 2.0).
*** LOCAL GEMS ***
bundler (default: 1.16.1)
json (1.5.5)
rake (10.5.0)
下面是我在尝试安装puppet-dashboard时看到的内容
Loaded plugins: product-id, search-disabled-repos, security, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package puppet-dashboard.noarch 0:1.2.23-1.el6 will be installed
--> Processing Dependency: rubygem(rake) for package: puppet-dashboard-1.2.23-1.el6.noarch
--> Processing Dependency: ruby-mysql for package: puppet-dashboard-1.2.23-1.el6.noarch
--> Running transaction check
---> Package puppet-dashboard.noarch 0:1.2.23-1.el6 will be installed
--> Processing Dependency: rubygem(rake) for package: puppet-dashboard-1.2.23-1.el6.noarch
---> Package ruby-mysql.x86_64 0:2.8.2-1.el6 will be installed
--> Finished Dependency Resolution
Error: Package: puppet-dashboard-1.2.23-1.el6.noarch (puppetlabs-products)
Requires: rubygem(rake)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答案 0 :(得分:0)
我找到了解决方案,现在我发布这个问题感觉很傻,因为答案很简单。
我刚刚访问此链接https://rpmfind.net/linux/rpm2html/search.php?query=rubygem-rake并下载了安装的Rake rpm。和bam !! puppet-Dashboard通过rake解决了它的依赖性!