reinstall of Winget fails
Describe the bug
using Winget Reinstall under config -> fixes fails
Steps to reproduce
- Go to config fixes
- Click on WinGet Reinstall
- See the error.
Expected behavior
expect it would simply re-install winget
Screenshots
Additional context
Issue validation
- [ ] I checked for duplicate issues.
- [ ] I checked for already existing discussions.
- [ ] I checked for an already existing pull request addressing the issue.
something is messing up with python3 install that causes winget to want to reinstall and then chocolatey fails at installing everything except pyenv.win (i had a lot of programs selected, something messes up with it, when i deselect python3 everything works fine, for reference ive used this tool since it was released with no issues at all on my system.
Is this by any chance a fresh windows 10 install? If yes, open the Microsoft Store and let it initialize, then update the MS store apps, then run windows update and finally restart the PC.
Can't say I've run into this sort of issue on W11 yet but worth a shot if it's a fresh install
https://github.com/ChrisTitusTech/winutil/issues/3160#issuecomment-2594063739
I believe I discovered the issue, it was that the microsoft store was not installed, right now I use windows ltsc 2021, ltsc versions come barebones without anything installed, the fix i did was just entering "WSReset -i&&TimeOut 20&&WSReset -i&&exit" into an elevated cmd and then microsoft store was installed normally.
Is this by any chance a fresh windows 10 install? If yes, open the Microsoft Store and let it initialize, then update the MS store apps, then run windows update and finally restart the PC.
Can't say I've run into this sort of issue on W11 yet but worth a shot if it's a fresh install
no, it is a win 11 pro 24H2 with there ms store installed, sorry should have said I only get this error on win 11 pro with 24h2
I believe I discovered the issue, it was that the microsoft store was not installed, right now I use windows ltsc 2021, ltsc versions come barebones without anything installed, the fix i did was just entering "WSReset -i&&TimeOut 20&&WSReset -i&&exit" into an elevated cmd and then microsoft store was installed normally.
thanks for your comment, but I am on win 11 pro with 24H2 and the Microsoft Windows store is installed and in use.
This issue was marked as stale due to inactivity.
Winget is a bit annoying to install as microsoft manages to break the installation every few versions. To resolve this please do the following (if still applicable)
Download and install the newest (stable) version of winutil manually Winget CLI (you need the .msixbundle) and see if the issue still persists
/close