-
-
Notifications
You must be signed in to change notification settings - Fork 484
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] Resetting winget sources throws error message #2544
Comments
You are facing an issue with a corrupted WinGet installation. |
@llvs I solved a similar issue by deleting the folder WinGet in %LOCALAPPDATA%\Temp and restarting UnigetUI |
Thank you. My issue seems to be like in the solution described in this I assume that this behavior of creating files/folders with admin-rights in the user directory is the main root cause of all my issues I see with UniGetUI. EDIT: After some installations (partly with admin privileges) the ownership of that temp winget folder was again transferred to the admin user and UniGetUI failed afterwards. Now I ADDED my normal user to the permissions of this folder (in addition to the admin user) having full access. Now, UniGetUI works again like normal. Time will tell if that dual permission situation for both the admin user and the normal user solve that issue permanently. |
@llvs Today I did a trial run of UniGetUI to see if it could replace my use of winget-cli. I mainly use a non-admin user account, so I have to confirm admin rights via the UAC prompt to update/install some packages using winget-cli. UniGetUI and winget-cli worked again after I gave my non-admin account again access to the WinGet folder. I am not sure, but VLC is different from the other packages in a way that if I want to upgrade VLC using winget-cli, it will tell me that I need to uninstall the current version and install the latest version. Maybe this difference is part of the reason for this bug. |
Thank you! Very interesting findings. I will try to find some time to confirm that. |
Please confirm these before moving forward
UniGetUI Version
3.1.1-beta3
Windows version, edition, and architecture
Win 10 22H2 19045.4651 x64
Describe your issue
Upon trying to reset the winget sources, the following error is thrown:
My system uses a normal user and an admin user which still creates problems for UniGetUI. While I can use CLI winget and have all my software and updates shown, UniGetUI does not succeed (neither using system WinGet nor packaged WinGet).
I think it started with version 3.0.2 but I am not sure as I regularly try all the latest UniGetUI versions on two machines.
Steps to reproduce the issue
No response
UniGetUI Log
Package Managers Logs
Relevant information
No response
Screenshots and videos
No response
The text was updated successfully, but these errors were encountered: