winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Attempting to uninstall a specific version of a package doesn't work

Open denelon opened this issue 3 years ago • 2 comments

Brief description of your issue

I tried to uninstall a specific version of a package, and it didn't appear to work. I have multiple versions of "Windows PC Health Check" and have been in the upgrade loop. I tried to uninstall the oldest version, and it didn't do what I expected

Steps to reproduce

More than one version of "Windows PC Health Check" are installed.

Try to remove the "oldest" version that shows an upgrade is available.

winget uninstall Microsoft.WindowsPCHealthCheck -v 2.5.2107.27001

Expected behavior

I expected the version specified to be removed.

Actual behavior

A different version of the package is removed.

Environment

Windows Package Manager Version: v1.2.10271
App Installer Version: v1.17.10271.0

denelon avatar Feb 01 '22 01:02 denelon

Screenshot 2022-01-31 165926

denelon avatar Feb 01 '22 01:02 denelon

We've been working on the side-by-side scenarios. You could try the latest release and enable the experimental feature on:

  • https://github.com/microsoft/winget-cli/releases/tag/v1.8.924-preview

Please provide feedback at:

  • https://github.com/microsoft/winget-cli/discussions/4281

denelon avatar Apr 02 '24 19:04 denelon