日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 >

Unknown media type in type ‘all/all’ 的解决办法

發(fā)布時(shí)間:2024/4/13 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Unknown media type in type ‘all/all’ 的解决办法 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

在我的Mint Debian上,安裝KDE桌面環(huán)境,再后來進(jìn)入KDE安裝或者卸載軟件的時(shí)候,時(shí)不時(shí)的出現(xiàn)這樣的錯(cuò)誤提示:

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'

Google一下發(fā)現(xiàn),這個(gè)BUG早就有人提交過了。解決辦法在這里(http://www.garyshood.com/unknownmedia/)。
首先找到kde.xml,我的路徑在

先備份 sudo?cp?/usr/share/mime/packages/kde.xml?/usr/share/mime 然后編輯一下,找到相關(guān)的標(biāo)簽,用”all/all”關(guān)鍵字一下就能找到,刪除之。

That section right there is the problem. Just delete it. If anything else gives you crap, delete that too. Mainly just search around the kde.xml and look for sections like that. Delete anything that shows up as an unknown media type. If you need to view the error list again, to see if you're missing anything, run the following and it will output all of the "Unknown media type in type" errors.

update-mime-database /usr/share/mime
?<mime-type type="interface/x-winamp-skin">
? ?<sub-class-of type="application/zip"/>
? ?<comment>compressed Winamp skin</comment>
? ?<glob pattern="*.wsz"/>
?</mime-type>


轉(zhuǎn)載于:https://blog.51cto.com/alina64/1439573

總結(jié)

以上是生活随笔為你收集整理的Unknown media type in type ‘all/all’ 的解决办法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。