-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
package resource fails to install local package specified with source attribute #3008
Comments
What OS? |
CentOS release 6.6 (Final) On Tue, Mar 3, 2015 at 1:45 PM, Jay Mundrawala notifications@github.com
-ca |
The problem appears to be here, where |
We're probably going to need the full stack trace, the -ldebug output and the RPM that you're trying to install and if a prior version of the RPM is installed or not. |
Can't replicate this one either. For apt_package I just get: "apt package provider cannot handle source attribute. Use dpkg provider instead" Changing to dpkg_package works fine: #!/usr/bin/env chef-apply
dpkg_package "chef" do
source "/home/lamont/chef.deb"
end |
I am installing an Oracle jdk7 rpm. If the package does not already exist
|
@lamont-granquist yeah, it's because chef is in your apt metadata. If you do:
You'll repro this. I'm unclear how it broke though the old assertions seem to enforce the same thing. |
Something like this seems to to suffice:
I'm not entirely certain I'm not missing something though. |
Trying to install a local package with
package
resource andsource
attribute fails withNo candidate version available for ...
Version 12.0.3 works fine. 12.1.0 does not.
The text was updated successfully, but these errors were encountered: