update-mime-database was getting very slow recently, so I decided to remove all associations and start over, thus I ran:
sudo rm -fr /usr/share/mime /usr/share/mime-info /usr/share/mimelnk
I thought that
update-mime-database would notice that and just create blank directories instead, but it didn't and instead complains:
"directory '/usr/share/mime/packages' does not exist!".
What do I do?