Comments (4)
Comment: #3525 (comment) helped
Thanks @HenkPoley
What resolved "Failed in attempting to update the source: winget" for me:
Download this file: https://cdn.winget.microsoft.com/cache/source.msix (e.g. with Edge)
Open the Downloads folder
Right-click, choose install, follow the wizard to install the package.
No clue why this is necessary. Source list remains the same:
PS C:> winget source list
Name Argument
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget https://cdn.winget.microsoft.com/cache
Yes, I did run the command mention at the top here: #3652 (comment)
But I was running a more recent version anyways (1.5? 1.6.??).
from winget-cli.
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.80
Closed similar issues:
- error running winget (#3098), similarity score: 0.81
- Failed in attempting to update the source: winget (#3001), similarity score: 0.80
- winget client issue, source update failed (#3691), similarity score: 0.80
- Update Error 0x801901ad winget source not configured (#3707), similarity score: 0.78
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from winget-cli.
This fix can be automated, and thus winget could be self healing if it performed this action upon seeing that error:
Invoke-WebRequest -Uri https://cdn.winget.microsoft.com/cache/source.msix -OutFile $env:TEMP\source.msix
Add-AppxPackage $env:TEMP\source.msix
from winget-cli.
@A9G-Data-Droid
Yeah, Adam, that would be a good feature to have indeed.
from winget-cli.
Related Issues (20)
- Update README.md HOT 1
- `Get-WinGetConfiguration` can't open a valid WinGet config file HOT 3
- `Get-WinGetConfiguration` default `-Path` to what `winget config` points to HOT 2
- VSCode Insiders fails to update HOT 6
- how to enable side-by-side in V1.9.1792-preview HOT 3
- WinGet Download presents error when it should be a warning. HOT 2
- WinGet download installs more than one bundle. It should be latest HOT 1
- WinGet download has unhelpful error text when download not supported.
- Delivery Optimization service download timeout HOT 12
- Add "--exclude" option to winget-cli HOT 7
- PowerShell module still prerelease or stable? HOT 2
- PowerShell module manifest PSEdition does not include Desktop HOT 1
- PowerShell module manifest includes Crescensdo keys HOT 1
- Upgrade version of RC to 1.1.1 HOT 1
- Can not install a program to setting location HOT 6
- PowerShell client fails to install certain packages which work with the winget CLI HOT 3
- Add the possibility to mark a specific version as not to use. HOT 1
- Update loop with balenaEtcher HOT 4
- Unable to update UnigetUI prerelease HOT 2
- PowerShell becomes unusable when winget not available HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winget-cli.