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

win_pkg.install and .remove cannot uninstall software w/ multiple versions installed #34866

Closed
jmacfar opened this issue Jul 21, 2016 · 1 comment
Labels
Bug broken, incorrect, or confusing behavior Execution-Module P4 Priority 4 Platform Relates to OS, containers, platform-based utilities like FS, system based apps severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around Windows
Milestone

Comments

@jmacfar
Copy link
Contributor

jmacfar commented Jul 21, 2016

Description of Issue/Question

In 2016.3, win_pkg.install / win_pkg.remove cannot deal correctly with packages if multiple versions are installed. Ex. java.

Steps to Reproduce Issue

salt 'w8-cl1*' pkg.install jre8 version=8.0.730.2
salt 'w8-cl1*' pkg.install jre8

$ salt 'w8-cl1*' pkg.list_pkgs
w8-cl1.salt.local:
    ----------
    jre8:
        8.0.730.2,8.0.910.14
$ salt 'w8-cl1*' pkg.remove jre8 version=8.0.730.2
w8-cl1.salt.local:
    ----------
    jre8:
        ----------
        current:
            8.0.730.2 not installed

$ salt 'w8-cl1*' pkg.remove jre8
w8-cl1.salt.local:
    ----------
    jre8:
        ----------
        current:
            8.0.910.15 not installed

Versions Report

Master and Minion:
salt 2016.3.1 (Boron)

Submitted PR #34864

@Ch3LL
Copy link
Contributor

Ch3LL commented Jul 26, 2016

@jmacfar thanks for the PR! I will go ahead and close this since you fixed it. thanks

@Ch3LL Ch3LL closed this as completed Jul 26, 2016
@Ch3LL Ch3LL added Bug broken, incorrect, or confusing behavior Execution-Module Windows Platform Relates to OS, containers, platform-based utilities like FS, system based apps P4 Priority 4 severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around labels Jul 26, 2016
@Ch3LL Ch3LL added this to the Approved milestone Jul 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior Execution-Module P4 Priority 4 Platform Relates to OS, containers, platform-based utilities like FS, system based apps severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around Windows
Projects
None yet
Development

No branches or pull requests

2 participants