How to remove packages via CLI

Remove the app. Purge it! (apt purge ...)
Then recreate the app cache as shown here.

Try to re-install.