Open oturpe opened 10 months ago
Added logs to the issue description.
You might need to add purge
You might need to add purge
Thanks, I was not aware of that option. I could be that winget uninstall --force --purge
would have avoided the need to delete a folder separately. However, the real problem I want to report here was that upgrade did not succeed. The uninstall part is just a workaround.
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
I have
sharkdp.bat
0.23.0 installed via WinGet. New version 0.24.0 is shown as available, but update fails due to the following error:I have not modified the package. Of course it is possible that something on my machine did that, but I would like to at least check here if this is common issue whose cause is on the WinGet packing side.
Workaround (that also checks that the problem does not happen for fresh install from 0.23.0 to 0.24.0) was:
Steps to reproduce
I got into this as follows:
winget install sharkdp.bat
winget upgrade --all
, maybe upgrading the packagewinget upgrade --all
Actual behavior
Error as given in description.
Expected behavior
Package is upgraded.
Environment
Screenshots and Logs
Relevant log entry from failed
winget upgrade --all
:Trying to
winget uninstall sharkdp.bat
was similar.winget uninstall --force sharkdp.bat
succeeds but leaves a folder behind:After that
winget install sharkdp.bat --version 0.23.0
fails since a folder it needs is to available (leading to the delete-a-folder part in the workaround):