*** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY When I try to install kstst through f-droid, I get the error "Hash not matching" STEPS TO REPRODUCE 1. Install through F-droid on a android device OBSERVED RESULT Error message "Hash not matching" EXPECTED RESULT Kasts should install. SOFTWARE/OS VERSIONS Android 13 one UI (Samsung)
Sorry, I can't seem to reproduce this. I've tried the version from the KDE release and testing repo in fdroid, and both work for me. Are you retrieving the app from KDE release repo? Or from elsewhere? Maybe it helps to completely uninstall Kasts and then install it again. But, as a disclaimer, that will wipe all app data, so make sure to back up your data or sync through gpodder/nextcloud before uninstalling.
Hallo Bart, I added the KDE release repo to f-droid. I installed also Elisa and this one installed OK. I will add the testing repo, maybe it will work there.
Hi Koen, You don't really need to install the testing repo if you don't want to. The stable repo should give you a more stable experience, so I wouldn't advice the testing repo unless you really want to help test the app. I've switched from the testing version to the stable repo this morning to check the issue, and for me the app installed without any problems. So I'd still like to know what's wrong here. One possible explanation is that the repository itself was not recently updated/refreshed, so it was expecting a binary with a different hash (from the older version). I have been making lots of bugfixes on the stable version over the last couple of days, so I wouldn't be surprised. So, assuming you want the stable version, could you add that repo again, make sure to refresh the list of apps and then try to install it again? If it still doesn't work, could you perhaps share a screenshot of the error?
Created attachment 178638 [details] Error f-droid: Download failed! Hash not matching
Bart, I can install from testing but stable still gives me the error message.
Thanks for the update. Looking at the screenshot, I have the impression that your repository metadata is outdated: it says "last update 4 days ago", but on my device it's showing "last update 1 day ago". I don't know fdroid well enough so I don't know 100% how to trigger a repo metadata update, but I think it will do that if you pull down (i.e. refresh) on the "updates" tab. If you go into the app install screen, it should show the latest version to be from Feb 19th. The expected error is that it's trying to compare the current downloaded package (from Feb 19th) to the hash it got for the version from 4 days ago. These will obviously not match.
I don't know, I just refreshed for updated and I had to update 4 apps, but Kasts stays on 4 days ago from 16 feb. On the nightly repo the last one is from yesterday. Nevermind, nightly works, so I will use nightly.
OK, I found the problem. When I checked the kde repo (click on repo and then on the apps in this repo) it mentioned the version from yesterday. But if wanted to install this one it jumped back to the 4 days old one. So it should be there is also a version available through the f-rdoid repo. When I put the KDE repo above the f-droid repo, then f-droid takes the version from the kde repo to install.
Glad that the issue is solved? I don't think there is another version in the fdroid repo. There might be one in another repo, or maybe fdroid simply has a bug triggered by repo preference. In any case, it seems to be clear that the actual package download does work. I'll close this issue now. Thanks for reporting anyway. It's better to know about potential issues, even if they turn out to be out of our hands in the end.