Cyberboss / install-winget

Action to install latest winget CLI on Windows runners
GNU Affero General Public License v3.0
11 stars 0 forks source link

winget install python fails with 0x803fb104 : unknown error #1

Open dechamps opened 9 months ago

dechamps commented 9 months ago

The following:

      - uses: Cyberboss/install-winget@v1
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      - run: winget install python --source=msstore --disable-interactivity --accept-source-agreements --accept-package-agreements

Fails with:

Run winget install python --source=msstore --disable-interactivity --accept-source-agreements --accept-package-agreements

The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

   - 

Found Python 3.11 [9NRWMJP3717K] 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 Python 3.11 [9NRWMJP3717K] Version Unknown
Version: Unknown
Publisher: Python Software Foundation
Publisher Url: https://www.python.org/
Publisher Support Url: https://www.python.org/doc/
Description:
  Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.

  The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python web site, https://www.python.org/, and may be freely distributed. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation.

  The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). Python is also suitable as an extension language for customizable applications.
License: https://docs.python.org/3.11/license.html
Privacy Url: https://www.python.org/privacy
Copyright: (c) Python Software Foundation
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

An unexpected error occurred while executing the command: 
0x803fb104 : unknown error
Error: Process completed with exit code 1.

That winget command works just fine on my local machine.

JesseTG commented 3 months ago

I also get this error when installing the OpenGL compatibility pack.

Run winget install 9NQPSL29BFFF --disable-interactivity --accept-source-agreements --accept-package-agreements
  winget install 9NQPSL29BFFF --disable-interactivity --accept-source-agreements --accept-package-agreements
  shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
  env:
    BUILD_DIR: D:\a\melonds-ds\melonds-ds/build
    DIST_DIR: D:\a\melonds-ds\melonds-ds/build/dist
    TESTFILE_DIR: D:\a\melonds-ds\melonds-ds/testfiles
    MSYSTEM: MINGW64

   - 
   \ 

  █████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 5.67 MB
  ██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 5.67 MB
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 5.67 MB
  █████████████████████▒▒▒▒▒▒▒▒▒  4.00 MB / 5.67 MB
  ██████████████████████████▒▒▒▒  5.00 MB / 5.67 MB
  ██████████████████████████████  5.67 MB / 5.67 MB

  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  0%
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  0%
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1%
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2%
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3%
  █▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4%
  █▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5%
  █▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  6%
  ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  7%
  ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  8%
  ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  9%
  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  10%
  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  11%
  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  12%
  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  13%
  ████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  14%
  ████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  15%
  ████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  16%
  █████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  17%
  █████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  18%
  █████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  19%
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  20%
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  21%
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  22%
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  23%
  ███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  24%
  ███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  25%
  ███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  26%
  ████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  27%
  ████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  28%
  ████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  28%
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  30%
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  31%
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  32%
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  33%
  ██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  34%
  ██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  35%
  ██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  36%
  ███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  37%
  ███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  38%
  ███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  39%
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  40%
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  41%
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  42%
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  43%
  █████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  44%
  █████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  45%
  █████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  46%
  ██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  47%
  ██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  48%
  ██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  49%
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  50%
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  51%
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  52%
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  53%
  ████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  54%
  ████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  55%
  ████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  56%
  █████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒  56%
  █████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒  57%
  █████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒  59%
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  60%
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  61%
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  62%
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  63%
  ███████████████████▒▒▒▒▒▒▒▒▒▒▒  64%
  ███████████████████▒▒▒▒▒▒▒▒▒▒▒  65%
  ███████████████████▒▒▒▒▒▒▒▒▒▒▒  66%
  ████████████████████▒▒▒▒▒▒▒▒▒▒  67%
  ████████████████████▒▒▒▒▒▒▒▒▒▒  68%
  ████████████████████▒▒▒▒▒▒▒▒▒▒  69%
  █████████████████████▒▒▒▒▒▒▒▒▒  70%
  █████████████████████▒▒▒▒▒▒▒▒▒  71%
  █████████████████████▒▒▒▒▒▒▒▒▒  72%
  █████████████████████▒▒▒▒▒▒▒▒▒  73%
  ████████████████████████▒▒▒▒▒▒  80%
  ████████████████████████▒▒▒▒▒▒  82%
  ██████████████████████████▒▒▒▒  88%
  ███████████████████████████▒▒▒  93%
  █████████████████████████████▒  99%
  █████████████████████████████▒  99%
  ██████████████████████████████  100%

The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

   - 

Found OpenCLTM, OpenGL®, and Vulkan® Compatibility Pack [9NQPSL29BFFF] 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 OpenCLTM, OpenGL®, and Vulkan® Compatibility Pack [9NQPSL29BFFF] Version Unknown
Version: Unknown
Publisher: Microsoft Corporation
Publisher Url: http://www.microsoft.com/
License: ms-windows-store://pdp/?ProductId=9NQPSL29BFFF
Privacy Url: https://privacy.microsoft.com/en-us/privacystatement
Copyright: © Microsoft Corporation
Agreements:
  Category: Utilities & 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

An unexpected error occurred while executing the command: 
0x803fb104 : unknown error