How to fix Unknown media type in type all/all and more due to kde.xml in Linux

If you get the below errors and are not using the KDE desktop environment, it could be that you installed some KDE program like Okular and then removed it, as a result it caused the mime types to give following errors:

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'

To overcome the errors, open a terminal window and enter the following commands:
$ cd /usr/share/mime/packages <enter>
$ ls -al kde.xml <enter>

If it exists, then:
$ sudo rm kde.xml <enter>
$ sudo update-mime-database /usr/share/mime <enter>

That should resolve the error.

Leave a Reply

  

  

  

Blue Captcha Image
Refresh

*

February 2019
M T W T F S S
« Jan    
 123
45678910
11121314151617
18192021222324
25262728