Closed madmax2 closed 5 months ago
As you can see from the output of the command, the package hash does not match. Either the package has been incorrectly published (this is the likely to be the case) oor you are being hacked into downloading a different executable (altough this is quite unlinely). Anyhow, WinGet is blocking the download due to a not trustable installed
@marticliment
what is meant by "the package hash does not match."
Are you saying the update hash is wrong or the original installed program hash is wrong?
how can the package be incorrectly published? I downloaded directly from the website that made that software
Are we expected to install these programs from a repository e.g. chocolatey ?
What do you mean by "not trustable installed"? Are you saying the original installed program
Also why are you closing this issue so quickly? There are lots of failed updates and not all of them are due to non matching hash
e.g. just look at another failed update I see this error
Starting package update operation for package id=calibre.calibrewith Manager name=Winget ....... ....... Successfully verified installer hash | | | Uninstall failed with exit code: 1603 Process Exit Code : -1978335184 Process End Time : Wed 22 05 2024 11:37:56 AM
Can you please look at my logs?
Packages have an expected hash. If the installer hash does match, the downloaded file is exactly the file the maintainer published.
If it is not, the file has been changed. Either by corruption, by a hacker or by the maintainer updating the installer without updating its associated hash. Checking the hash is a security measure, and you shouldn't skip it if you are not 200% sure that the file is safe
@marticliment So what do you suggest I should do about these failed updates?
Should I ? 1) uninstalled all the programs that failed the update and download them from official site of that software and reinstall? 2) uninstalled all the programs that failed the update and installed them via Chocolatey? 3) Something else
It gets annoying because UniGetIUi keeps notifying me that updates are available and I know it will keep failing those same updates.
Here's another different failed update with a different message which says "Successfully verified installed hash" but it still failed to update
BTW I think you should do something about improving the "user friendliness" of the program in giving the user more easier to understand error message + some solution about what to do about these failed updates in the Live Output window of each failed updates because for many users they will have no clue what is going on with these live output messages (which a coder more likely to understand than the average user) or how to fixed these failed updates..
I believe I am somewhat IT knowledgeable and technical than the average user and even I had no idea what the live output error message is even saying or what solution I should take to fix these failed updates. The problem is also that there too many technical text that we don't understand what we should be looking at.
Here's a suggested user friendly improvement for these failed update errors
If you do this then there is less likely for people to CREATE NEW ISSUES about what these error messages mean and what to do about it
Hello,
it is not a matter of reinstalling the program. you will still face the same issue with new updates.
What you can do instead is report this behaviour to the program publishers so they start publishing packages following adequate the requirements and guidelines.
You could still try to install the package from chocolatey, but if the maintainers publish incorrect packages to winget they are also likely to do the same thing on chocolatey.
I am aware the errors may be kind of hard to understand. However, UniGetUI is not designed to be a straight software store for unexperienced users, but rather an interface designed to ease the package managing for users who already use and understand package managers. However, please rest assure I always try to make things as clear and easy as I can, and this trend will continue in the future. Also please understand that my free time is not unlimited, and other issues and features are more important for the average user.
Please confirm these before moving forward
Describe your issue
Using UniGet (WingetUI) to update all the selected package I would get error Update failed for a lot of packages/apps Then afterwards, seem to get timeout the last update prior to the last update failed package. Why does this occur and how to fix this or prevent it from occurring?
Steps to reproduce the issue
Click Software updates Make sure all updates are selected Click Update selected packages
WingetUI Log
Package Managers Logs
Relevant information
No response
Screenshots and videos
Sample of a failed update