By mistake I rewritte /usr/share on my 10.04 installation with /usr/share from another 8.04 installation. I do not know, which files was overwritten and which not.

Mysql had some problem, but after reinstallation, it works ok.

Can I somehow reinstall all packages just to be sure, that everything is ok? Or what to do?