You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ensure that pkg.installed function refreshes properly with windows. #34767
Corerelates to code central or existential to SaltP3Priority 3bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
A while back pkg.latest was fixed and I believe works properly but no one got around to fixing pkg.installed. In pkg.installed, if the version was 'latest', a refresh will happen no matter what
(possibly in addition to others) because of the lines
if salt.utils.is_true(kwargs.get('refresh', True)):
refresh_db(saltenv)
in pkg.latest_version. Also if the version is not 'latest' and the cache was not already refreshed the state would fail because the call to pkg.list_pkgs (called by _find_install_targets) requires that the pkg database exist in order to work.
Corerelates to code central or existential to SaltP3Priority 3bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Activity
rallytime commentedon Jul 19, 2016
Thanks for filing this bug @hrumph and for the fix. Love it when that happens! :)
Merge pull request #34768 from hrumph/bad-installed-state