On 03/31/2010 08:31 AM, Adam Tauno Williams wrote:
On Wed, 2010-03-31 at 08:45 -0400, Hans Krueger wrote:
On 03/30/2010 09:26 PM, David C. Rankin wrote:
On 03/29/2010 03:23 PM, David C. Rankin wrote:
Something has screwed up the mime database in gnome so that now gnome things all documents are "plain text document" mime types. I have tried 'update-mime-database /usr/share/mime' and it returned the following errors: [15:17 alchemy:/usr/share/mime] # update-mime-database /usr/share/mime Unknown media type in type 'all/all' <snip> Unknown media type in type 'interface/x-winamp-skin' I suspect that the above type don't exist and that is causing the whole mime database update to fail leaving everything set to 'plain text document'. What do I do to fix this? Thanks. Nobody?
I've use a GNOME desktop since the Ximian days and never seen this issue. If I run "update-mime-database /usr/share/mime" it completes without error. Did you install any packages, etc... before this broke? [Maybe KDE4 or vlc?]
If you update with the "-v" option does it say anything interesting?
A quick Bing search finds a couple posts relating this to KDE4 packages. Do you have KDE4 installed? If so try hacking /usr/share/mime/packages/kde.xml and just remove the related stanza from the XML file (or just try renaming the file to somewhere else).
Yes, I have kde4 factory installed. I don't recall when it broke (it's been a month of two). I haven't installed any specific packages that I can relate to breaking the mime database, but I do do regular kde4 updates.... Here is the interesting verbose output: [14:50 alchemy:/home/david/dt/gnome/themes/new] # update-mime-database -V /usr/share/mime Updating MIME database in /usr/share/mime... Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' Unknown media type in type 'uri/mms' Unknown media type in type 'uri/mmst' Unknown media type in type 'uri/mmsu' Unknown media type in type 'uri/pnm' Unknown media type in type 'uri/rtspt' Unknown media type in type 'uri/rtspu' Unknown media type in type 'fonts/package' Unknown media type in type 'interface/x-winamp-skin' Wrote 1030 strings at 2c - 5a30 Wrote aliases at 5a30 - 5f7c Wrote parents at 5f7c - 74d4 Wrote literal globs at 74d4 - 75a4 Wrote suffix globs at 75a4 - 11128 Wrote full globs at 11128 - 11180 Wrote magic at 11180 - 1b7a0 Wrote namespace list at 1b7a0 - 1b804 Wrote icons list at 1b804 - 1b808 Wrote generic icons list at 1b808 - 1c2ac Wrote types list at 1c2ac - 1cfc4 -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org