/tmp isn't a big deal, you can just remake an empty one.
/var on the other hand... You are best off to reinstall. Among other things, you just lost the list of packages installed on your system.
You might be able to fix it, I've never tried it, but I wouldn't bother. Back up your data (and your settings in your ~), do a fresh install.
/var on the other hand... You are best off to reinstall. Among other things, you just lost the list of packages installed on your system.
You might be able to fix it, I've never tried it, but I wouldn't bother. Back up your data (and your settings in your ~), do a fresh install.