-
Notifications
You must be signed in to change notification settings - Fork 5.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
pkg.check_db is not available in salt 2016.3? #36292
Comments
Found the PR where the function was removed, #29496. @terminalmage, is there a workaround, maybe another function that is equivalent to |
@lorengordon I do want to wait on terminalimages words. right now I'll label this as a documentation bug since we should document in release notes that its not longer available and in the module docs. Depending on his response this might change to a code bug. Thanks |
Repoquery was removed as a dependency. Since repoquery provided the package suggestions, The main reason for the removal of repoquery was performance. It slowed yumpkg down considerably. It also was not very reliable and when there would be breakage around it, pkg states would fail unless If you want to get suggestions, provided that you have repoquery available, you can run a command like the below with YUM (requires
|
Thanks @terminalmage. The use case was more that we have a package we want to install if it is available, but not fail a state if it is not available (because we do not control this particular repo, so we could not just use I'm fine closing this now. If you want to keep it open as a placeholder to update the docs, that's fine as well. :) |
OK, cool. For your use case, keep in mind that
So if you're using this, it would need to be paired with a call to I added the note to the 2016.3.0 release notes in #36350. |
Description of Issue/Question
As titled, simply running
pkg.check_db
results in a 'not available' message. I checked issues and pull requests really quick, but didn't see anything about it being deprecated.Setup
salt-call --local pkg.check_db gdm
. (any package name would end up with the same result)Steps to Reproduce Issue
Versions Report
The text was updated successfully, but these errors were encountered: