Yesterday I installed KDE through gnome in Ubuntu 10.10 and after some time I decided to uninstall kde manually through the Synaptic Package Manager. I completely removed all the packages which I thought were related to KDE and not critical for Gnome, but I was wrong as it turns out not only did I delete KDE I also deleted a lot of critical packages for Gnome.
I think I deleted at least half of the critical packages and now I do not have even a terminal and a browser. Also when I rebooted I could not even log in to Ubuntu so this my question: is there a way to repair Ubuntu?