What was the precise error message?
The error message displayed by F-Droid was on the lines of"The new package is requesting a shared user which is already installed on the device and does not have matching signature.". The eror code was INSTALL_FAILED_SHARED_USER_INCOMPATIBLE / -8.
When did I encounter this issue?
When trying to install the app "Termux" from F-Droid. Essentially installing the apk and not from the Play Store.
What have I tried to solve this issue?
- Search Stackoverflow for solutions
- Uninstall app / Uninstall App for all users
- Install App from Play Store and then uninstall it again
Possible Cause:
I previously had the app installed from Play Store and then uninstalled it before trying to reinstall it from F-Droid. This is the most probable cause in my opinion although I wasn't able to reproduce it on another device.
(Preempting my answer) As it turns out /data/system/packages.xml still contained the shared-user entry for the app including the signature. Which explains why I couldn't install the other apk, since they were signed with different key although they're the same apps and opensource.