Help save my linux mint! I downloaded unity5 for linux...

… The unity debian package started uninstalling all of my packages! I was able to stop it before it got very far, how can I get those packages back on my system, before a power failure or reboot?

I will now try to reboot, and see if I saved my computer.