This error usually occurs if you installed the app elsewhere first (containing a different signing key) then tried to install over it from F-Droid. To install a different signed version you'd need to uninstall it first.