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
[BUG] chocolatey upgrade forces install even if package is already installed and force is false #57894
PackagingRelated to packaging of Salt, not Salt's support for package management.Windowsbugbroken, incorrect, or confusing behaviorseverity-high2nd top severity, seen by most users, causes major problems
Description
When running the chocolatey upgrade module command, if a package is already installed, the package is reinstalled not skipped. I'm testing with the saltminion package. Even including the force=False still reinstalls the package.
Setup
salt 'minion' chocolatey.upgrade 'saltminion'
Steps to Reproduce the behavior
run salt 'minion' chocolatey.upgrade 'saltminion'
verify package is installed and upgraded with salt 'minion' test.version
run salt 'minion' chocolatey.upgrade 'saltminion' again and the package is reinstalled
Expected behavior
To skip installation of the same version of the package
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Salt Version:
Salt: 3000.3
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.6.1
docker-py: Not Installed
gitdb: 2.0.3
gitpython: 2.1.8
Jinja2: 2.10
libgit2: Not Installed
M2Crypto: Not Installed
Mako: 1.0.7
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.17 (default, Apr 15 2020, 17:20:14)
python-gnupg: 0.4.1
PyYAML: 3.12
PyZMQ: 16.0.2
smmap: 2.0.3
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.2.5
System Versions:
dist: Ubuntu 18.04 bionic
locale: UTF-8
machine: x86_64
release: 4.15.0-109-generic
system: Linux
version: Ubuntu 18.04 bionic
PackagingRelated to packaging of Salt, not Salt's support for package management.Windowsbugbroken, incorrect, or confusing behaviorseverity-high2nd top severity, seen by most users, causes major problems
Activity
sagetherage commentedon Jul 13, 2020
@krionbsd can you verify this packaging issue, please?
sagetherage commentedon Jul 13, 2020
@cmcmarrow can you verify this issue, please?