Okay, none of this has happened so I’m not asking for a rescue. I’m just thinking ahead (possibly with newbie ignorance).
I have both Mate and Deepin installed in EOS. Let’s say for reasons of HD space I decide to uninstall Deepin. I see via search that DE uninstalls can often result in unintended removals of necessary files, so perhaps the safest command to use is:
sudo pacman -Runs deepin
“Safest” because it’s less likely to remove things that might be needed by Mate. But it may also leave remnants of Deepin behind (such as the Deepin terminal). So a more aggressive command would be:
sudo pacman -Rcns deepin
So, let’s say you think you’ll go with that one. But, just to make sure that it doesn’t sweep too much away, what would happen if – in the same session – you installed Mate again on top of the installation of it that’s already there? Would it skip over (or error) on everything already there yet still “fill in the blanks” left by whatever -Rcns took away that’s needed? Or would it just simply fail because Mate is already present?