unknown mime

unknown mime

Photo by jyjou

unknown mime is a simple ruby admin script to fix the Unknown media type in type 'xxx/xxx' messages seen when running Linux package updates or the update-mime-database command. This script simply cleans all 'fake' mimetypes. If the messages reappear, simply run this script again.


Just run 'sudo rake' and enter the root password.

NOTE: For security purposes, it is always wise to review what a piece of code does BEFORE running it with superuser privileges. Examine mime.rb and Rakefile to see that no malicious commands are run.


Credit for this fix goes to