I accidently removed a package with the purge flag and it removed large parts of the Ubuntu system, including the pulseaudio server, the software center, system settings and many, many other programs and libraries.
I don't exactly know what the purge command does, but I'm pretty sure that it's used to remove a package along with it dependencies. So I guess it removed every package that shares dependencies with the package I wanted to remove, but it still does not make any sense.
I have the complete dpkg.log
of removed packages, but reinstalling them via terminal is nearly impossible.
What should I do to recover the removed packages?