Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Each time apt-get tries to process triggers for shared-mime-info, it reports warnings like:

...
Processing triggers for shared-mime-info...
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 'interface/x-winamp-skin'

I've checked /usr/share/mime-info but doesn't see any of them:

/usr/share/mime-info$ grep 'url/rtspu' *
(Got nothing)

So, how to clean up my system so it won't report these unknown media types?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

This was discussed in Why does update-mime-database complain about uri/rtspt and other unusual types? It is caused by kde.xml and they have not fixed it yet. Here is a bug report.

Also it's uri/rtspu, not url/rtspu you should be grepping.

share|improve this answer
 sudo rm /usr/share/mime/packages/kde.xml 
 sudo update-mime-database /usr/share/mime

Should fix the warnings.

share|improve this answer
8  
What are the (other) consequences of removing this file? –  Sparhawk Mar 17 at 11:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.