winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

No output when running Update/install command

Open TheBossMagnus opened this issue 3 years ago • 3 comments

Brief description of your issue

No output when running Update/install command Log error: 2022-11-07 18:26:29.136 [CORE] WinGet, version [1.3.2691], activity [{A6B56824-6C86-4C6B-BB4F-77547A657495}] 2022-11-07 18:26:29.136 [CORE] OS: Windows.Desktop v10.0.22621.1 2022-11-07 18:26:29.136 [CORE] Command line Args: "C:\Users\tbmag\AppData\Local\Microsoft\WindowsApps\winget.exe" upgrade 2022-11-07 18:26:29.136 [CORE] Package: Microsoft.DesktopAppInstaller v1.18.2691.0 2022-11-07 18:26:29.137 [CORE] IsCOMCall:0; Caller: winget-cli 2022-11-07 18:26:29.142 [CLI ] WinGet invoked with arguments: 'upgrade' 2022-11-07 18:26:29.142 [CLI ] Found subcommand: upgrade 2022-11-07 18:26:29.143 [CLI ] Leaf command to execute: root:upgrade 2022-11-07 18:26:29.149 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Settings.cpp(309)\WindowsPackageManager.dll!00007FFBA88876AC: (caller: 00007FFBA88423A2) Exception(1) tid(5a24) 800F024B The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.

WinGet-2022-11-07-18-32-00.205.log

Steps to reproduce

Write winget upgrade / winget install

Expected behavior

...

Actual behavior

..

Environment

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

Windows: Windows.Desktop v10.0.22621.1
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

TheBossMagnus avatar Nov 07 '22 17:11 TheBossMagnus

It doesn't seem like the correct log file was provided. Can you retry and provide the log when using the flag --verbose-logs ?

Trenly avatar Nov 07 '22 19:11 Trenly

WinGet invoked with arguments: 'upgrade'

#2666

iDolmatov avatar Nov 07 '22 21:11 iDolmatov

It doesn't seem like the correct log file was provided. Can you retry and provide the log when using the flag --verbose-logs ?

2022-11-08 15:19:23.070 [CORE] WinGet, version [1.3.2691], activity [{59F80C67-523C-41BE-814A-1FBC5853A2BC}] 2022-11-08 15:19:23.070 [CORE] OS: Windows.Desktop v10.0.22621.1 2022-11-08 15:19:23.070 [CORE] Command line Args: "C:\Users\tbmag\AppData\Local\Microsoft\WindowsApps\winget.exe" upgrade --all --verbose-logs 2022-11-08 15:19:23.071 [CORE] Package: Microsoft.DesktopAppInstaller v1.18.2691.0 2022-11-08 15:19:23.071 [CORE] IsCOMCall:0; Caller: winget-cli 2022-11-08 15:19:23.078 [CLI ] WinGet invoked with arguments: 'upgrade' '--all' '--verbose-logs' 2022-11-08 15:19:23.079 [CLI ] Found subcommand: upgrade 2022-11-08 15:19:23.079 [CLI ] Leaf command to execute: root:upgrade 2022-11-08 15:19:23.084 [CORE] Setting action: Get, Type: Secure, Name: admin_settings 2022-11-08 15:19:23.085 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Settings.cpp(309)\WindowsPackageManager.dll!00007FF83B6276AC: (caller: 00007FF83B5E23A2) Exception(1) tid(1f78) 800F024B The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.

TheBossMagnus avatar Nov 08 '22 15:11 TheBossMagnus

@TheBossMagnus can you check again?

denelon avatar Nov 14 '22 23:11 denelon

fixed reinstalling system with iso(keeping programs and files)

TheBossMagnus avatar Nov 15 '22 14:11 TheBossMagnus