Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEBUG: apt_package[mongodb] candidate version for mongodb is (none) #417

Open
lmilbaum opened this issue Nov 4, 2016 · 1 comment
Open

Comments

@lmilbaum
Copy link

lmilbaum commented Nov 4, 2016

I would like to install mongodb 3.2.7 on Ubuntu 16.04.
Specified in the file: attributes/default.rb
override[:mongodb][:package_version] = '3.2.7'

Output:
169.46.88.66 * apt_package[mongodb] action install
169.46.88.66 * No candidate version available for mongodb
169.46.88.66 ================================================================================
169.46.88.66 Error executing action install on resource 'apt_package[mongodb]'
169.46.88.66 ================================================================================
169.46.88.66
169.46.88.66 Chef::Exceptions::Package
169.46.88.66 -------------------------
169.46.88.66 No candidate version available for mongodb
169.46.88.66
169.46.88.66 Cookbook Trace:
169.46.88.66 ---------------
169.46.88.66 /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:78:in run_action' 169.46.88.66 /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in block (2 levels) in converge'
169.46.88.66 /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in each' 169.46.88.66 /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in block in converge'
169.46.88.66 /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:105:in converge' 169.46.88.66 169.46.88.66 Resource Declaration: 169.46.88.66 --------------------- 169.46.88.66 # In /var/chef/cache/cookbooks/mongodb/recipes/install.rb 169.46.88.66 169.46.88.66 77: package node[:mongodb][:package_name] do 169.46.88.66 78: options packager_opts 169.46.88.66 79: action :install 169.46.88.66 80: version node[:mongodb][:package_version] 169.46.88.66 81: end 169.46.88.66 82: 169.46.88.66 169.46.88.66 Compiled Resource: 169.46.88.66 ------------------ 169.46.88.66 # Declared in /var/chef/cache/cookbooks/mongodb/recipes/install.rb:77:in from_file'
169.46.88.66
169.46.88.66 apt_package("mongodb") do
169.46.88.66 package_name "mongodb"
169.46.88.66 action [:install]
169.46.88.66 retries 0
169.46.88.66 retry_delay 2
169.46.88.66 default_guard_interpreter :default
169.46.88.66 declared_type :package
169.46.88.66 cookbook_name "mongodb"
169.46.88.66 recipe_name "install"
169.46.88.66 options "-o Dpkg::Options::="--force-confold" --force-yes"
169.46.88.66 version "3.2.7"
169.46.88.66 end

@josephholsten
Copy link

This repo is EOL, but the code lives on at https://github.com/sous-chefs/mongodb. Could you give that cookbook a look and let us know if it doesn't fix your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants