I have tried deleting my .gnupg directory but the error returns.I get this:gpg: lookup_hashtable failed: eofgpg: lookup_hashtable failed: eofgpg: upd_hashtable: read failed: eofgpg: trust record 2, type 12: write failed: eofgpg: Error: The trustdb is corrupted.gpg: You may try to re-create the trustdb using the commands:gpg:   cd ~/.gnupggpg:   gpg2 --export-ownertrust > otrust.tmpgpg:   rm trustdb.gpggpg:   gpg2 --import-ownertrust < otrust.tmpgpg: If that does not work, please consult the manualI tried following the advice thrown out by the error and that doesn't work either. Tried Googling the problem but nothing comes up for lookup_hastable.I also installed seahorse and have my ssh keys stored in seahorse. Could there be confict going on with seahorse?I'm running gpg --gen-key from my normal user account and not trying to do anything fancy: just create a standard gpg key.
gnupg: Getting errors trying to gpg --gen-key
gpg;gnupg