[X] This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version
3.1.0
Windows version, edition, and architecture
Windows 11 Home 22631.3880 x64
Describe your issue
When attempting to update a package with the "Uninstall package, then update it" option, UnigetUI attempts to uninstall the new version of the package, which fails.
Steps to reproduce the issue
Right click a package in the Software Updates category
Select "Uninstall package, then update it"
UniGetUI Log
Irrelevant
Package Managers Logs
Irrelevant
Relevant information
Live output of uninstall is:
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable : C:\Users\<username>\AppData\Local\Microsoft\WindowsApps\winget.exe
Process Call Arguments : uninstall --id yt-dlp.yt-dlp --exact --source winget --accept-source-agreements --version "2024.07.16" --silent --disable-interactivity
Working Directory : C:\Users\<username>
| |
| No version found matching: 2024.07.16
Process Exit Code : -1978335209
Process End Time : 17/07/2024 10:24:09
Please confirm these before moving forward
UniGetUI Version
3.1.0
Windows version, edition, and architecture
Windows 11 Home 22631.3880 x64
Describe your issue
When attempting to update a package with the "Uninstall package, then update it" option, UnigetUI attempts to uninstall the new version of the package, which fails.
Steps to reproduce the issue
UniGetUI Log
Package Managers Logs
Relevant information
Live output of uninstall is:
Installed version of yt-dlp is 2024.07.09
Screenshots and videos
No response