On Sun, 16 Jul 2023, at 15:20, Sean Whitton wrote: > Hello, > > On Sun 16 Jul 2023 at 12:06pm +01, Nikolaus Rath wrote: > >> Hmm. I think the problem is not that the various elpa packages did not >> get installed correctly, but that they did not get removed fully. So >> I'll skip this step for now in an attempt to preserve the current state. > > Yes, I think that's right. The .elc should not have been left behind > when you removed elpa-async. There isn't really enough information here > to try to fix whatever caused that. Let us know if you are able to > reproduce.
Afraid not. With the current elpa-async package, the files are correctly removed on purge. That leaves me with a different question though - how do I clean up my system? It seems I have a lot of directories and files in /usr/share/emacs/site-lisp/elpa that should not be there, and dpkg -S can't be used to identify what should and shouldn't be there. Is there a way to find out what should not be there? Best, -Nikolaus