microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.53k stars 4.43k forks source link

[Package Issue]: Nlitesoft.NTLite installer hash mismatch when installing #100029

Open tranquilcarbon opened 1 year ago

tranquilcarbon commented 1 year ago

Please confirm these before moving forward

Category of the issue

Installer hash mismatch.

Brief description of your issue

when attempting to update or install Nlitesoft.NTLite, the installation will always fail with a "Installer hash does not match; this cannot be overridden when running as admin" error.

Steps to reproduce

  1. run the command winget install ntlite as a administrator
  2. wait for the download to complete
  3. winget will report a "Installer hash does not match; this cannot be overridden when running as admin" error

Actual behavior

winget reports a "Installer hash does not match; this cannot be overridden when running as admin" error

Expected behavior

NTLite installs successfully.

Environment

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

Windows: Windows.Desktop v10.0.19045.2728
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

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

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Screenshots and Logs

WinGet-2023-03-19-12-43-31.736.log Untitled

mdanish-kh commented 1 year ago

New version with the updated hashes were merged in PR #99735. The issue you're having is that you're not being able to update the winget source which is causing you to get old hashes image

Can you do winget source reset --force in an administrative terminal and try again?

tranquilcarbon commented 1 year ago

New version with the updated hashes were merged in PR #99735. The issue you're having is that you're not being able to update the winget source which is causing you to get old hashes image

Can you do winget source reset --force in an administrative terminal and try again?

sorry, this isn't actually related to the issue, i realised that i didn't want to run winget all so i pressed ctrl+c to exit quickly before it started updating, but i will run the command later.

stephengillie commented 1 year ago

Related:

Trenly commented 4 months ago

[Policy] Reset Labels

Trenly commented 4 months ago

[Policy] Issue Bug