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

winget failed to install #1517

Closed
Grimmrp2 opened this issue Feb 1, 2024 · 11 comments
Closed

winget failed to install #1517

Grimmrp2 opened this issue Feb 1, 2024 · 11 comments

Comments

@Grimmrp2
Copy link

Grimmrp2 commented Feb 1, 2024

When i run the tool i get winget failed to install

running powershell as admin on win 11

image

@Garou7
Copy link

Garou7 commented Feb 1, 2024

Did U try WinGet reinstall?
fix

@Grimmrp2
Copy link
Author

Grimmrp2 commented Feb 1, 2024

Did U try WinGet reinstall? fix

I'll give it a try thanks

@petterssonjonas
Copy link

install winget from microsoft/winget-cli repo,

@possumdoe
Copy link

possumdoe commented Feb 6, 2024

Seems related to issues #1557 and #1571

I link the response from the other issue:
#1571 (comment)

Maybe next time include a bit more informations, like the version of winget and some logs 😉

@maxy3d
Copy link

maxy3d commented Feb 6, 2024

winget failed
updating to latest winget. but when installing anyapp. Winget failed to install.

@TheAnonymousXII
Copy link

I think winget is just broken.(See image below)

image
It won't install a package by microsoft.

@possumdoe
Copy link

@Grimmrp2 try attaching more informations like:

  • the output of winget --info
  • the logs of the script failed run

@TheAnonymousXAlt try reporting directly to winget-cli

Seems like there is an existing open issue related to your error microsoft/winget-cli#4099

@ithinkmax
Copy link

ithinkmax commented Feb 7, 2024

Same for me, I get error with every app I try to install. I tried to reinstall winget but nothing changed

Screenshot 2024-02-07 080431

PS C:\Users\Max> winget -v
v1.6.3482
PS C:\Users\Max>

@ubrider
Copy link

ubrider commented Feb 7, 2024

Same, Get installed works, but trying to install package no, either win 10 or win 11 (latest updates)

@nkap90
Copy link

nkap90 commented Feb 7, 2024

I have exactly the same Winget version and failed to install error as the people above and no solution yet. The Winget reinstall does not fix it. I use Window 11 Pro (fresh install, latest updates).

Some extra info:

- The output of winget --info:
PS C:\Windows\system32> winget --info
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3085
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0

Winget Directories

Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads

Links

Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting State

LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled

- The logs of the script failed run
2024-02-07 13:09:54.403 [CORE] WinGet, version [1.6.3482], activity [{3122D7E7-CA9F-4089-991D-D8826A1B5017}]
2024-02-07 13:09:54.403 [CORE] OS: Windows.Desktop v10.0.22631.3085
2024-02-07 13:09:54.403 [CORE] Command line Args: "C:\Users\Niels\AppData\Local\Microsoft\WindowsApps\winget.exe" --version
2024-02-07 13:09:54.403 [CORE] Package: Microsoft.DesktopAppInstaller v1.21.3482.0
2024-02-07 13:09:54.403 [CORE] IsCOMCall:0; Caller: winget-cli
2024-02-07 13:09:54.410 [CLI ] WinGet invoked with arguments: '--version'
2024-02-07 13:09:54.410 [CLI ] Leaf command to execute: root
2024-02-07 13:09:54.410 [CLI ] Executing command: root
2024-02-07 13:09:54.410 [CLI ] Leaf command succeeded: root

Hope someone can help, if there is any other information needed, please let me know.
chris-titus-tech-install

Copy link
Contributor

Closed due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants