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 losing track of progress #4396

Open
martinstenhoff opened this issue Apr 22, 2024 · 1 comment
Open

winget losing track of progress #4396

martinstenhoff opened this issue Apr 22, 2024 · 1 comment
Labels
Area-Output Issue related to CLI output Command-Install Issue related to WinGet Install Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@martinstenhoff
Copy link

martinstenhoff commented Apr 22, 2024

Brief description of your issue

When installing VSCode using:

winget install -e --id Microsoft.VisualStudioCode

winget stopped showing download progress after 20MB of 94.8MB, but appears to have successfully installed the package:

Downloading https://vscode.download.prss.microsoft.com/dbazure/download/stable/e170252f762678dec6ca2cc69aba1570769a5d39/VSCodeUserSetup-x64-1.88.1.exe
██████▎ 20.0 MB / 94.8 MB
Cancelled <-- ME CANCELLING AFTER 45 MINUTES AND THEN IMMEDIATELY RUNNING BELOW LINE AGAIN
PS C:\Users\MartinStenhoff\Downloads\VisualStudio> winget install -e --id Microsoft.VisualStudioCode
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.

Steps to reproduce

This one is probably hard to reproduce (there may have been another winget install running at the same time):

winget install -e --id Microsoft.VisualStudioCode

Expected behavior

The progress bar going to 100%

Actual behavior

The progress bar stops before 20%

Looking at the logs I can see this, but not sure if it's related:

2024-04-22 07:54:46.428 [CLI ] WinGet invoked with arguments: 'install' '-e' '--id' 'Microsoft.VisualStudioCode'

...

2024-04-22 07:54:46.604 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.421.2057.191_neutral__8wekyb3d8bbwe\Public\index.db'
2024-04-22 07:54:46.605 [REPO] Opened SQLite Index with version [1.7], last write [2024-04-21 21:56:46.000]
2024-04-22 07:54:46.816 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-04-22 07:54:46.821 [REPO] Reading MSI UpgradeCodes
2024-04-22 07:54:46.853 [REPO] Reading MSI UpgradeCodes
2024-04-22 07:54:46.884 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(1) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:46.911 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(2) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:46.913 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(3) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:46.915 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(4) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:46.927 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(5) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:46.932 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(6) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:46.939 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(7) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:46.960 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(8) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:46.976 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(9) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:46.987 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(10) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:47.087 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(11) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:47.162 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCF25B069C: (caller: 00007FFCF25B73A9) Exception(12) tid(4e98) 800700B7 Cannot create a file when that file already exists.

2024-04-22 07:54:47.446 [REPO] Opening database for ReadWrite at 'C:\Users\MartinStenhoff\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-04-22 07:54:47.447 [REPO] Opened SQLite Index with version [1.7], last write [2024-04-21 23:53:54.000]

Environment

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

Windows: Windows.Desktop v10.0.22631.3447
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10861.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
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
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Apr 22, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Area-Output Issue related to CLI output Command-Install Issue related to WinGet Install and removed Needs-Triage Issue need to be triaged labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Output Issue related to CLI output Command-Install Issue related to WinGet Install Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

2 participants