Please see this. Maybe some of the commands will help
Then try installing Authentik again , but not via software center but via the instructions on GitHub.
HTH
ps. Please see hwo to forcefully remove an app here, and there will be instructions in the manual or here on the forums.