microsoft / microsoft/winget-cli

Verifying/Requesting package acquisition failed: server error

Open
#3,138 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug msstore
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

Unable to install WSL App from msstore with winget as similarly reported in #2052 #2343

"winget install ""Windows Subsystem for Linux"" --source msstore --accept-package-agreements --accept-source-agreements" | Invoke-Expression
Found an existing package already installed. Trying to upgrade the installed package...
No applicable upgrade found.  "winget install ""Windows Subsystem for Linux"" --source msstore --accept-package-agreements --accept-source-agreements" | Invoke-Expression
Found Windows Subsystem for Linux [9P9TQF7MRM4R] Version Unknown
This package is provided through Microsoft Store. winget may need to acquire the package from Microsoft Store on behalf of the current user.
Agreements for Windows Subsystem for Linux [9P9TQF7MRM4R] Version Unknown
Version: Unknown
Publisher: Microsoft Corp.
Publisher Url: https://privacy.microsoft.com/en-us/privacystatement
Publisher Support Url: https://aka.ms/wsl2
Description:
  Windows Subsystem for Linux (WSL) lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dual boot setup.

  Installing WSL through the store will allow you to get the latest WSL updates and features faster, and without needing to modify your Windows version. To learn more please visit https://aka.ms/wsldocs
License: ms-windows-store://pdp/?ProductId=9P9TQF7MRM4R
Privacy Url: https://privacy.microsoft.com/en-us/privacystatement
Agreements:
Category: Developer tools
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license


Verifying/Requesting package acquisition...
Verifying/Requesting package acquisition failed: server error
Steps to reproduce
"winget install ""Windows Subsystem for Linux"" --source msstore --accept-package-agreements --accept-source-agreements" | Invoke-Expression
Expected behavior

Install WSL App from msstore

Actual behavior

Fails with error

Environment
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1413
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the PowerShell winget command shown in the issue and inspect the diagnostic logs under %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir. Done means identifying the cause of the Microsoft Store package-acquisition server error and confirming whether the WSL App installs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.