-
-
Notifications
You must be signed in to change notification settings - Fork 327
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
[BUG] "Run cleanup and clear cache" doesn't clean Scoop's cache #2151
Comments
Please attach the contents of the file on |
|
And running this script manually doesn't work either? |
Running the CMD file directly in an Administrator command prompt also does the same: Cache dir is not emptied. Only old app versions removed. Strange. If I run The Run button used to work correctly and empty the Cache dir I think. Not any more apparently. |
I have no evidence for it, but it might be a conflict with Clink (it has caused me an unrelated mysterious command prompt issue in the past). I just uninstalled Clink and tried again. Cache dir still doesn't get emptied. |
What happens if you run the script on a non-admin command prompt? |
|
As you can see from my third comment from the top, the output of the cache clearing command is immediately followed by the old version removal command's output:
I always presumed this to be some issue with the CMD script, because when we run
It is possible that the CMD script has actually never actually been clearing the cache. It explains why I found it to be 14 GB in size when I did so manually. In any case, it would be nice if the CMD script worked, but also showed the output of cache clearing command, or at least its last line so that we can know how much was removed. |
The problem should because the
Because The first line of the program above: |
I did not konw this behaviour, thanks for pointing it out! |
Please confirm these before moving forward
Describe your issue
The Run button for "Run cleanup and clear cache" under Scoop in the Settings only removes old versions of installed Scoop apps. It does not clear/clean/remove the cached downloads, which it should.
Steps to reproduce the issue
No response
WingetUI Log
Package Managers Logs
Relevant information
No response
Screenshots and videos
No response
The text was updated successfully, but these errors were encountered: