Some bad packages on the repo, instead of adding just their own mime information, have a full mime setup inside them. This screws up the system mime info after installing one of them. I was slowly compiling a list of those packages some time back, but lost it...