rm -rf /var/lib/dpkg/info/kde* then you should be able to remove the apps from application manager you would also want to remove rm -rf /home/user/.kde if you are going to install the boot from SD version when you are done.