Invalid and corrupt database

gpg --recv-keys
bash: syntax error near unexpected token `newline’