@neil Things may work better if you use "apt purge" instead of, or after, "apt remove". The "apt purge" command is supposed to remove all remaining files related to the package, while "apt remove" may leave some stuff. My guess is that if you did "apt remove" and then manually removed a directory, apt believed the directory was still there. If you use "apt purge" instead, apt will know that a complete new install is needed next time you do "apt install". I think.