Sri*_*vas 4 ruby chef-infra ubuntu-12.04
我正在尝试在厨师中这样做:
package("libreadline5-dev") do
package_name "libreadline5-dev"
retry_delay 2
retries 0
recipe_name "default"
cookbook_name :"nginx-passenger"
action :install
end
Run Code Online (Sandbox Code Playgroud)
它给出以下错误:
================================================================================
Error executing action `install` on resource 'package[libreadline5-dev]'
================================================================================
Chef::Exceptions::Package
-------------------------
libreadline5-dev has no candidate in the apt-cache
Resource Declaration:
---------------------
# In /var/chef/cookbooks/nginx-passenger/recipes/default.rb
15: package "libreadline5-dev"
16: package "build-essential"
Compiled Resource:
------------------
# Declared in /var/chef/cookbooks/nginx-passenger/recipes/default.rb:15:in `from_file'
Run Code Online (Sandbox Code Playgroud)
版本:
红宝石 1.8.7
厨师:10.16.2
ubuntu:12.04(EC2 实例)
有人可以帮我解决这个问题吗?我尝试了这个,但没有解决问题。
| 归档时间: |
|
| 查看次数: |
6347 次 |
| 最近记录: |