marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
12.9k stars 443 forks source link

[BUG] Uninstall command tries to uninstall the not-yet-installed "new version", resulting in error. #2536

Closed Boxersteavee closed 3 months ago

Boxersteavee commented 3 months ago

Please confirm these before moving forward

UniGetUI Version

3.1.0

Windows version, edition, and architecture

Windows 11 Pro 23H2 22631.3880

Describe your issue

When trying to uninstall a package that won't update, or uninstall outright, from the right click menu of the item on the "Software Updates" list, it throws an error saying version not found, with the command indicating it is trying to uninstall the new version that it has not yet installed.

Steps to reproduce the issue

  1. Have an item on the "Software updates" page that fails to install (such as a "new technology" of update requiring a reinstall, which is what was the case with this app) (THIS STEP MAY NOT BE REQUIRED)
  2. Right click the app, Select either "uninstall package" or "uninstall package, then update it".
  3. Observe the failure, and look at the error message. See it stating the version in the "Process Call Arguments", the version matches with the "New version" on the Software Updates list, not the "version" that is currently installed.

UniGetUI Log

https://pastebin.com/kD9F0H08

Package Managers Logs

https://pastebin.com/wwbUfgsZ

Relevant information

Screenshots and videos

image