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

[BUG] Skip hash check on scoop is broken #1445

Closed
4 tasks done
marticliment opened this issue Oct 4, 2023 · 0 comments
Closed
4 tasks done

[BUG] Skip hash check on scoop is broken #1445

marticliment opened this issue Oct 4, 2023 · 0 comments
Assignees
Labels
bug Something isn't working ready-to-go scoop

Comments

@marticliment
Copy link
Owner

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions
  • This issue is about a bug (if it is not, please use the correct template)

Describe your issue

Skip hash check when updating on scoop is broken

Steps to reproduce the issue

No response

WingetUI Log

d=furmark, installId=1696453078.8843827
🔵 Given package: <Package: Furmark;furmark;1.34.0.0;Scoop: extras;<PackageManagers.scoop.ScoopPackageManager object at 0x000001C9E9841590>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA906980>>
🔵 Installation options: <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;CustomParameters=[];RemoveDataOnUninstall=False>
🔵 Found cached image in C:\Users\marti\.wingetui/cachedmeta/furmark.icon.png
🟢 Waiting for install permission... title=Microsoft Visual Studio Code (User), id=Microsoft.VisualStudioCode, installId=1696453078.9129415
🔵 Given package: <Package: Microsoft Visual Studio Code (User);Microsoft.VisualStudioCode;1.82.3;Winget: winget;<PackageManagers.winget.WingetPackageManager object at 0x000001C9E9843510>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA17F400>>
🔵 Installation options: <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;CustomParameters=[];RemoveDataOnUninstall=False>
🔵 Found cached image in C:\Users\marti\.wingetui/cachedmeta/visualstudiocode.icon.png
🟢 Searching for string ""
🟢 Total packages: 2
🔵 Current program set to 1696453078.8843827
🟢 Have permission to install, starting installation threads...
🔵 Starting <Package: Furmark;furmark;1.34.0.0;Scoop: extras;<PackageManagers.scoop.ScoopPackageManager object at 0x000001C9E9841590>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA906980>> update with Command ['powershell', '-ExecutionPolicy', 'ByPass', '-Command', 'scoop', 'update', 'extras/furmark']
['furmark: 1.34.0.0 -> 1.37.1.0', 'Updating one outdated app:', "Updating 'furmark' (1.34.0.0 -> 1.37.1.0)", 'Downloading new version', 'Downloading https://geeks3d.com/dl/get/728#/FurMark_1.37.1.0_Setup.exe (-1 B)...', 'Checking hash of FurMark_1.37.1.0_Setup.exe ... ERROR Hash check failed!', 'App:         extras/furmark', 'URL:         https://geeks3d.com/dl/get/728#/FurMark_1.37.1.0_Setup.exe', 'First bytes: 3C 21 64 6F 63 74 79 70', 'Expected:    faee88cfd1255519e7b871b63caf8db54a5841e7b59730cd25012f0c96907f37', 'Actual:      232d0b814b03b0df92229c5b98f4d26e5564a67c81518f42712afd1626cf9e84', 'Please try again or create a new issue by using the following link and paste your console output:', 'https://github.com/ScoopInstaller/Extras/issues/new?title=furmark%401.37.1.0%3a+hash+check+failed', '']
🔵 Current program set to 1696453078.9129415
🟢 Have permission to install, starting installation threads...
🔵 Starting <Package: Microsoft Visual Studio Code (User);Microsoft.VisualStudioCode;1.82.3;Winget: winget;<PackageManagers.winget.WingetPackageManager object at 0x000001C9E9843510>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA17F400>> update with Command ['C:\\Program Files\\WingetUI\\PackageManagers\\winget-cli_x64\\winget.exe', 'upgrade', '--id', 'Microsoft.VisualStudioCode', '--exact', '--include-unknown', '--accept-source-agreements', '--disable-interactivity', '--accept-package-agreements']
.\PackageManagers\winget.py:638: RuntimeWarning: libshiboken: Overflow: Value 2316632067 exceeds limits of type  [signed] "int" (4bytes).
OverflowError
['-', '███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 8.05 MB', '███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 8.05 MB', '███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 8.05 MB', '██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 8.05 MB', '██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 8.05 MB', '██████████████████████▒▒▒▒▒▒▒▒  6.00 MB / 8.05 MB', '██████████████████████████▒▒▒▒  7.00 MB / 8.05 MB', '█████████████████████████████▒  8.00 MB / 8.05 MB', '██████████████████████████████  8.05 MB / 8.05 MB', '-', '\\', 'Failed when searching source: msstore', 'An unexpected error occurred while executing the command:', 'WinHttpSendRequest: 12007: No se pudo resolver el nombre de servidor o su dirección', '']
🔵 Starting Winget search for installed packages
🔵 Starting Scoop search for installed packages
🔵 Starting Chocolatey search for installed packages
🔵 Starting Pip search for installed packages
🔵 Starting Npm search for installed packages
🔵 Starting .NET Tool search for installed packages
🟢 Searching for string ""
Package Id                 Version      Commands
-------------------------------------------------------------
clickhousemigrator         1.1.3        chm
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated
nugetpackagesmigrator      1.0.1        nuget-migrator
upgrade-assistant          0.5.261      upgrade-assistant
🟢 .NET Tool search for installed packages finished with 4 result(s)
🟢 Searching for string ""
🟢 Pip search for installed packages finished with 128 result(s)
🟢 Searching for string ""
🔵 NPM changed scope to @marti
🟢 Chocolatey search for installed packages finished with 20 result(s)
🟢 Searching for string ""
🟢 Scoop search for installed packages finished with 24 result(s)
🟢 Searching for string ""
🟢 Npm search for installed packages finished with 2 result(s)
🟢 Searching for string ""
🟡 package Update for  (KB2504637) failed parsing, going for method 2...
🟢 Winget search for installed packages finished with 352 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 530
🔵 Sending cancel signal...
🔵 Sending cancel signal...
🟢 Waiting for install permission... title=Microsoft Visual Studio Code (User), id=Microsoft.VisualStudioCode, installId=1696453813.4458995
🔵 Given package: <Package: Microsoft Visual Studio Code (User);Microsoft.VisualStudioCode;1.82.3;Winget: winget;<PackageManagers.winget.WingetPackageManager object at 0x000001C9E9843510>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA17F400>>
🔵 Installation options: <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;CustomParameters=[];RemoveDataOnUninstall=False>
🔵 Current program set to 1696453813.4458995
🔵 Found cached image in C:\Users\marti\.wingetui/cachedmeta/visualstudiocode.icon.png
🟢 Have permission to install, starting installation threads...
🔵 Starting <Package: Microsoft Visual Studio Code (User);Microsoft.VisualStudioCode;1.82.3;Winget: winget;<PackageManagers.winget.WingetPackageManager object at 0x000001C9E9843510>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA17F400>> update with Command ['C:\\Program Files\\WingetUI\\PackageManagers\\winget-cli_x64\\winget.exe', 'upgrade', '--id', 'Microsoft.VisualStudioCode', '--exact', '--include-unknown', '--accept-source-agreements', '--disable-interactivity', '--accept-package-agreements']
['-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 8.05 MB', '███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 8.05 MB', '███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 8.05 MB', '██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 8.05 MB', '██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 8.05 MB', '██████████████████████▒▒▒▒▒▒▒▒  6.00 MB / 8.05 MB', '██████████████████████████▒▒▒▒  7.00 MB / 8.05 MB', '█████████████████████████████▒  8.00 MB / 8.05 MB', '██████████████████████████████  8.05 MB / 8.05 MB', 'Failed in attempting to update the source: winget', '-', '\\', 'Found Microsoft Visual Studio Code [Microsoft.VisualStudioCode] Version 1.83.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://az764295.vo.msecnd.net/stable/e7e037083ff4455cf320e344325dacb480062c3c/VSCodeUserSetup-x64-1.83.0.exe', '-', '\\', '|', '/', '-', '\\', '█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  18.0 MB / 90.1 MB', '███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  22.0 MB / 90.1 MB', '████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  26.0 MB / 90.1 MB', '██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  31.0 MB / 90.1 MB', '████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  37.0 MB / 90.1 MB', '██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  44.0 MB / 90.1 MB', '█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒  51.1 MB / 90.1 MB', '███████████████████▒▒▒▒▒▒▒▒▒▒▒  58.1 MB / 90.1 MB', '█████████████████████▒▒▒▒▒▒▒▒▒  65.1 MB / 90.1 MB', '████████████████████████▒▒▒▒▒▒  72.1 MB / 90.1 MB', '██████████████████████████▒▒▒▒  79.1 MB / 90.1 MB', '████████████████████████████▒▒  86.1 MB / 90.1 MB', '██████████████████████████████  90.1 MB / 90.1 MB', 'Successfully verified installer hash', 'Starting package install...', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', 'Successfully installed', '']
🔵 Sending cancel signal...
🟢 Waiting for install permission... title=Furmark, id=furmark, installId=1696453853.9698558
🔵 Given package: <Package: Furmark;furmark;1.34.0.0;Scoop: extras;<PackageManagers.scoop.ScoopPackageManager object at 0x000001C9E9841590>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA906980>>
🔵 Installation options: <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;CustomParameters=[];RemoveDataOnUninstall=False>
🔵 Found cached image in C:\Users\marti\.wingetui/cachedmeta/furmark.icon.png
🔵 Current program set to 1696453853.9698558
🟢 Have permission to install, starting installation threads...
🔵 Starting <Package: Furmark;furmark;1.34.0.0;Scoop: extras;<PackageManagers.scoop.ScoopPackageManager object at 0x000001C9E9841590>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA906980>> update with Command ['powershell', '-ExecutionPolicy', 'ByPass', '-Command', 'scoop', 'update', 'extras/furmark']
['furmark: 1.34.0.0 -> 1.37.1.0', 'Updating one outdated app:', "Updating 'furmark' (1.34.0.0 -> 1.37.1.0)", 'Downloading new version', 'Downloading https://geeks3d.com/dl/get/728#/FurMark_1.37.1.0_Setup.exe (-1 B)...', 'Checking hash of FurMark_1.37.1.0_Setup.exe ... ERROR Hash check failed!', 'App:         extras/furmark', 'URL:         https://geeks3d.com/dl/get/728#/FurMark_1.37.1.0_Setup.exe', 'First bytes: 3C 21 64 6F 63 74 79 70', 'Expected:    faee88cfd1255519e7b871b63caf8db54a5841e7b59730cd25012f0c96907f37', 'Actual:      232d0b814b03b0df92229c5b98f4d26e5564a67c81518f42712afd1626cf9e84', 'Please try again or create a new issue by using the following link and paste your console output:', 'https://github.com/ScoopInstaller/Extras/issues/new?title=furmark%401.37.1.0%3a+hash+check+failed', '']
🟢 Waiting for install permission... title=Furmark, id=furmark, installId=1696453865.6407309
🔵 Given package: <Package: Furmark;furmark;1.34.0.0;Scoop: extras;<PackageManagers.scoop.ScoopPackageManager object at 0x000001C9E9841590>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA906980>>
🔵 Installation options: <InstallationOptions: SkipHashCheck=True;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;CustomParameters=[];RemoveDataOnUninstall=False>
🔵 Found cached image in C:\Users\marti\.wingetui/cachedmeta/furmark.icon.png
🔵 Current program set to 1696453865.6407309
🟢 Have permission to install, starting installation threads...
🔵 Starting <Package: Furmark;furmark;1.34.0.0;Scoop: extras;<PackageManagers.scoop.ScoopPackageManager object at 0x000001C9E9841590>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C9EA906980>> update with Command ['powershell', '-ExecutionPolicy', 'ByPass', '-Command', 'scoop', 'update', 'extras/furmark']
['furmark: 1.34.0.0 -> 1.37.1.0', 'Updating one outdated app:', "Updating 'furmark' (1.34.0.0 -> 1.37.1.0)", 'Downloading new version', 'Downloading https://geeks3d.com/dl/get/728#/FurMark_1.37.1.0_Setup.exe (-1 B)...', 'Checking hash of FurMark_1.37.1.0_Setup.exe ... ERROR Hash check failed!', 'App:         extras/furmark', 'URL:         https://geeks3d.com/dl/get/728#/FurMark_1.37.1.0_Setup.exe', 'First bytes: 3C 21 64 6F 63 74 79 70', 'Expected:    faee88cfd1255519e7b871b63caf8db54a5841e7b59730cd25012f0c96907f37', 'Actual:      232d0b814b03b0df92229c5b98f4d26e5564a67c81518f42712afd1626cf9e84', 'Please try again or create a new issue by using the following link and paste your console output:', 'https://github.com/ScoopInstaller/Extras/issues/new?title=furmark%401.37.1.0%3a+hash+check+failed', '']
🔵 Sending cancel signal...
🔵 Sending cancel signal...
🔵 Loading WingetUI log...

Package Managers Logs

--------------------------------
 Operation: update - Perform date 2023-09-19 19:38:39.259199
 Package: <Package: Teams Machine-Wide Installer;Microsoft.Teams;1.6.0.18681;Winget: winget;<PackageManagers.winget.WingetPackageManager object at 0x00000237F2607D90>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x00000237F3A46880>>
 Command-line call: "c:/SomePrograms/WingetUI-Store/wingetui\PackageManagers\winget-cli_x64\winget.exe upgrade --id Microsoft.Teams --exact --include-unknown --accept-source-agreements --disable-interactivity --accept-package-agreements" Output code: -1978335212
 Console output:
   | -
   | \
   | █▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 17.2 MB
   | ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 17.2 MB
   | █████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 17.2 MB
   | ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 17.2 MB
   | ████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 17.2 MB
   | ██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 17.2 MB
   | ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  7.00 MB / 17.2 MB
   | █████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  8.00 MB / 17.2 MB
   | ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  9.00 MB / 17.2 MB
   | █████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒  10.0 MB / 17.2 MB
   | ███████████████████▒▒▒▒▒▒▒▒▒▒▒  11.0 MB / 17.2 MB
   | ████████████████████▒▒▒▒▒▒▒▒▒▒  12.0 MB / 17.2 MB
   | ██████████████████████▒▒▒▒▒▒▒▒  13.0 MB / 17.2 MB
   | ████████████████████████▒▒▒▒▒▒  14.0 MB / 17.2 MB
   | ██████████████████████████▒▒▒▒  15.0 MB / 17.2 MB
   | ███████████████████████████▒▒▒  16.0 MB / 17.2 MB
   | █████████████████████████████▒  17.0 MB / 17.2 MB
   | ██████████████████████████████  17.2 MB / 17.2 MB
   | -
   | \
   | No installed package found matching input criteria.
   | 


--------------------------------
 Operation: update - Perform date 2023-09-19 19:19:13.757744
 Package: <Package: Okular;okular;23.08.1-1522;Scoop: extras;<PackageManagers.scoop.ScoopPackageManager object at 0x000001C7C5FECDD0>;<Interface.CustomWidgets.GenericWidgets.TreeWidgetItemWithQAction object at 0x000001C7C714B140>>
 Command-line call: "powershell -ExecutionPolicy ByPass -Command scoop update extras/okular" Output code: 92849
 Console output:
   | okular: 23.08.1-1523 (latest version)
   | Latest versions for all apps are installed! For more information try 'scoop status'
   |

Relevant information

No response

Screenshots and videos

No response

@marticliment marticliment added bug Something isn't working ready-to-go scoop labels Oct 4, 2023
@marticliment marticliment added this to the Bugs milestone Oct 4, 2023
@marticliment marticliment self-assigned this Oct 4, 2023
@marticliment marticliment removed this from the Bugs milestone Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready-to-go scoop
Projects
None yet
Development

No branches or pull requests

1 participant