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

Error code: 0x80072eff while executing winget upgrade --all command #1800

Open
sanamhub opened this issue Dec 15, 2021 · 5 comments
Open

Error code: 0x80072eff while executing winget upgrade --all command #1800

sanamhub opened this issue Dec 15, 2021 · 5 comments
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@sanamhub
Copy link

sanamhub commented Dec 15, 2021

Brief description of your issue

0x80072eff : unknown error while executing winget upgrade --all command on my windows terminal

Steps to reproduce

  1. Open windows terminal
  2. Paste winget upgrade --all
  3. Hit enter

Expected behavior

Update available updates for the packages

Actual behavior

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

Screenshot

image

Environment

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

Windows: Windows.Desktop v10.0.22000.376
Package: Microsoft.DesktopAppInstaller v1.16.13405.0

Note: I am running script on windows terminal
@ghost ghost added the Needs-Triage Issue need to be triaged label Dec 15, 2021
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Dec 15, 2021
@denelon denelon added this to the v1.3-Client milestone Feb 22, 2022
@denelon denelon modified the milestones: v1.3-Client, v1.4-Client May 31, 2022
@denelon denelon modified the milestones: v1.4-Client, v1.5-Client Dec 28, 2022
@gldraphael
Copy link

Similar issue here.

I had an old version of PowerShell installed through GitHub releases.
Every time a new update was released, it required me to manually download PowerShell from GitHub releases.

I decided to try upgrading with winget upgrade Microsoft.PowerShell. It did not work, something about the existing installation using a different installation technology. I went ahead and uninstalled the existing installation from window's "Add or Remove Programs" interface.

And then tried installing with winget install Microsoft.PowerShell. Now I see one of two things:

0x80072eff : unknown error

Or I see it installing powershell indefinitely.

@sanamhub
Copy link
Author

@denelon please have a look at this. (bug, 1+ year)

@denelon
Copy link
Contributor

denelon commented Jan 13, 2023

Can you share the output of winget --info and run the command with "--verbose-logs" and share the resulting log?
The log location is available in the output of winget --info.

Optionally from https://github.com/microsoft/winget-cli/releases/tag/v1.4.3132-preview and newer versions, we have a new experimental feature that may be enabled to open the directory with the logs.

@fsdrw08
Copy link

fsdrw08 commented Jan 15, 2023

same to me, when I try to install microsoft.powershell by winget install, same error code throw out: 0x80072eff : unknown error

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

Windows: Windows.Desktop v10.0.22621.1105
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

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

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

@denelon denelon modified the milestones: v1.5-Client, v.Next-Client Apr 18, 2023
@anztim
Copy link

anztim commented Jul 11, 2023

@denelon

Can you share the output of winget --info and run the command with "--verbose-logs" and share the resulting log? The log location is available in the output of winget --info.

Optionally from https://github.com/microsoft/winget-cli/releases/tag/v1.4.3132-preview and newer versions, we have a new experimental feature that may be enabled to open the directory with the logs.

Same error occured when installing new package. I cannot guarantee that this error can be stably reproduced after rebooting.

~
❯ winget install Postman.Postman --verbose
Found Postman [Postman.Postman] Version 10.15.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dl.pstmn.io/download/version/10.15.0/win64
An unexpected error occurred while executing the command:
InternetOpenUrl() failed.
0x80072ee7 : unknown error

Log file is very long. Most of them seem logging process of searching target package and downloading manifest.

WinGet-2023-07-11-08-28-40.417.log (after downloading manifest):

2023-07-11 08:28:48.289 [CLI ] Starting installer selection.
2023-07-11 08:28:48.290 [CLI ] Installer [X64,exe,User,en-US] is current best choice
2023-07-11 08:28:48.290 [CLI ] Completed installer selection.
2023-07-11 08:28:48.290 [CLI ] Selected installer Architecture: 2
2023-07-11 08:28:48.290 [CLI ] Selected installer URL: https://dl.pstmn.io/download/version/10.15.0/win64
2023-07-11 08:28:48.290 [CLI ] Selected installer InstallerType: exe
2023-07-11 08:28:48.290 [CLI ] Selected installer Scope: User
2023-07-11 08:28:48.290 [CLI ] Selected installer Language: en-US
2023-07-11 08:28:48.290 [CLI ] Manifest fields: Name [Postman], Version [10.15.0]
2023-07-11 08:28:48.325 [CLI ] Generated temp download path: C:\Users\*****\AppData\Local\Temp\WinGet\Postman.Postman.10.15.0\8ec77764dbca682c5ac05250480278f32437f0ba9637b4b3b655eabf3b6cbd6f
2023-07-11 08:28:48.325 [CORE] Downloading to path: C:\Users\*****\AppData\Local\Temp\WinGet\Postman.Postman.10.15.0\8ec77764dbca682c5ac05250480278f32437f0ba9637b4b3b655eabf3b6cbd6f
2023-07-11 08:28:48.326 [CORE] DeliveryOptimization downloading from url: https://dl.pstmn.io/download/version/10.15.0/win64
2023-07-11 08:28:48.341 [CORE] DO State 1, 0 / 0, Error 0x00000000, extended error 0x00000000
2023-07-11 08:28:51.109 [CORE] DO State 5, 0 / 0, Error 0x80072efe, extended error 0x00000000
2023-07-11 08:28:51.109 [CORE] DeliveryOptimization error: 0x80072efe, extended error: 0x00000000
2023-07-11 08:28:51.110 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\DODownloader.cpp(289)\WindowsPackageManager.dll!00007FFA35F64EAD: (caller: 00007FFA35F65751) Exception(1) tid(52bc) 80072EFE 
2023-07-11 08:28:51.114 [CORE] Started applying motw to C:\Users\*****\AppData\Local\Temp\WinGet\Postman.Postman.10.15.0\8ec77764dbca682c5ac05250480278f32437f0ba9637b4b3b655eabf3b6cbd6f with zone: 3
2023-07-11 08:28:51.122 [CORE] Finished applying motw
2023-07-11 08:28:51.123 [CORE] WinINet downloading from url: https://dl.pstmn.io/download/version/10.15.0/win64
2023-07-11 08:28:51.518 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(52)\WindowsPackageManager.dll!00007FFA35F457DE: (caller: 00007FFA35F46699) Exception(2) tid(52bc) 80072EFF     Msg:[InternetOpenUrl() failed.] 

2023-07-11 08:28:51.567 [CLI ] Failed to download, waiting a bit and retry. Url: https://dl.pstmn.io/download/version/10.15.0/win64
2023-07-11 08:28:52.079 [CORE] Downloading to path: C:\Users\*****\AppData\Local\Temp\WinGet\Postman.Postman.10.15.0\8ec77764dbca682c5ac05250480278f32437f0ba9637b4b3b655eabf3b6cbd6f
2023-07-11 08:28:52.079 [CORE] DeliveryOptimization downloading from url: https://dl.pstmn.io/download/version/10.15.0/win64
2023-07-11 08:28:52.086 [CORE] DO State 1, 0 / 0, Error 0x00000000, extended error 0x00000000
2023-07-11 08:28:54.722 [CORE] DO State 5, 0 / 0, Error 0x80072efe, extended error 0x00000000
2023-07-11 08:28:54.722 [CORE] DeliveryOptimization error: 0x80072efe, extended error: 0x00000000
2023-07-11 08:28:54.722 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\DODownloader.cpp(289)\WindowsPackageManager.dll!00007FFA35F64EAD: (caller: 00007FFA35F65751) Exception(3) tid(52bc) 80072EFE 
2023-07-11 08:28:54.751 [CORE] Started applying motw to C:\Users\*****\AppData\Local\Temp\WinGet\Postman.Postman.10.15.0\8ec77764dbca682c5ac05250480278f32437f0ba9637b4b3b655eabf3b6cbd6f with zone: 3
2023-07-11 08:28:54.752 [CORE] Finished applying motw
2023-07-11 08:28:54.752 [CORE] WinINet downloading from url: https://dl.pstmn.io/download/version/10.15.0/win64
2023-07-11 08:28:55.145 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(52)\WindowsPackageManager.dll!00007FFA35F457DE: (caller: 00007FFA35F46699) Exception(4) tid(52bc) 80072EFF     Msg:[InternetOpenUrl() failed.] 

2023-07-11 08:28:55.330 [CLI ] Caught wil::ResultException: D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(52)\WindowsPackageManager.dll!00007FFA35F457DE: (caller: 00007FFA35F46699) Exception(4) tid(52bc) 80072EFF     Msg:[InternetOpenUrl() failed.] 

❯ winget --info
Windows Package Manager (Preview) v1.6.1573-preview
Copyright (C) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1928
System Architechture: X64
Package: Microsoft.DesktopAppInstaller v1.21.1573.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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

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

Group Policy                              State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

5 participants