[Bug 301226] New: Unhelpful error message when /usr/share/mime/mime.cache is missing

Ian Pilcher arequipeno at gmail.com
Tue Jun 5 16:58:21 BST 2012


https://bugs.kde.org/show_bug.cgi?id=301226

            Bug ID: 301226
          Severity: normal
           Version: 4.8
          Priority: NOR
          Assignee: unassigned-bugs at kde.org
           Summary: Unhelpful error message when
                    /usr/share/mime/mime.cache is missing
    Classification: Unclassified
                OS: Linux
          Reporter: arequipeno at gmail.com
          Hardware: Other
            Status: UNCONFIRMED
         Component: general
           Product: kde

If /usr/share/mime/mime.cache is missing, KDE displays a very unhelpful error
message on startup:

No mime types installed.  Check that shared-mime-info is installed, and that
XDG_DATA_DIRS is not set, or includes /usr/share.

In my case, shared-mime-info was installed, and XDG_DATA_DIRS did include
/usr/share.  It took quite a lot of banging around to figure out that I needed
to recreate /usr/share/mime/mime.cache with:

  sudo update-mime-database /usr/share/mime

Given that the actual problem is the missing cache file, shouldn't the error
message mention it?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list