Skip to content
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

fails to update sources #4876

Open
Sk7Str1p3 opened this issue Oct 12, 2024 · 2 comments
Open

fails to update sources #4876

Sk7Str1p3 opened this issue Oct 12, 2024 · 2 comments
Labels
Issue-Docs It's a documentation issue that really should be on MicrosoftDocs

Comments

@Sk7Str1p3
Copy link

Brief description of your issue

on fresh windows installation, winget fails to update source "winget". no error code, simply "cancelled"

Steps to reproduce

  • install windows 11 23h2
  • try to use winget
  • get error (possibly)

Expected behavior

update sources successfully

Actual behavior

Image

Environment

Диспетчер пакетов Windows v1.2.10691
(с) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

Windows: Windows.Desktop v10.0.22631.2861
Пакет: Microsoft.DesktopAppInstaller v1.17.10691.0

Журналы: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Ссылки

Заявление о конфиденциальности https://aka.ms/winget-privacy
Лицензионное соглашение https://aka.ms/winget-license
Уведомления третьих сторон https://aka.ms/winget-3rdPartyNotice
Домашняя страница https://aka.ms/winget
Условия Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale

Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Oct 12, 2024
@denelon
Copy link
Contributor

denelon commented Oct 12, 2024

Unfortunately, that's a known issue. If you run updates via the Microsoft Store the "Desktop App Installer" system component will get updated and that is how WinGet is delivered and updated by default in Windows Desktop.

If you're looking for a way to bootstrap WinGet manually, the best way is to install the Microsoft.WinGet.Client PowerShell module and then run Repair-WinGetPackageManager -Force -Latest.

@denelon denelon added Issue-Docs It's a documentation issue that really should be on MicrosoftDocs and removed Needs-Triage Issue need to be triaged labels Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Docs It's a documentation issue that really should be on MicrosoftDocs
Projects
None yet
Development

No branches or pull requests

2 participants