I used sudo apt-get autoremove
it is now deleting things.
It ends with Idconfig deferred processing now taking place,
it is expecting a command ...