winget-cli
winget-cli copied to clipboard
"Failed in attempting to update the source: winget" when using "update" command as non-admin user
Brief description of your issue
When using the command winget update as a non-admin terminal I get the error message "Failed in attempting to update the source: winget". This does not happens if I use the same command elevated.
I'm not 100% sure, but this started happening after upgrading to Windows 11. On Windows 10 I did not had this issue and previously I had the exact same issue on clean installation of Windows 11.
Steps to reproduce
Type winget update as non-admin privileges
Expected behavior
winget updating the source "winget"
Actual behavior
winget fails to update source winget"
Environment
Windows Package Manager v1.7.10861
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3447
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10861.0
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- Failed in attempting to update the source: winget (#3525), similarity score: 0.82
- Cannot update sources with Administrator promt (#3082), similarity score: 0.80
- Winget doesn't work when run from elevated cmd (#2443), similarity score: 0.78
Closed similar issues:
- Failed in attempting to update the source: winget (#3001), similarity score: 0.82
- error running winget (#3098), similarity score: 0.78
Note: You can give me feedback by thumbs upping or thumbs downing this comment.