Linux

嘗試安裝 IDE Anjuta 時出現錯誤

  • March 28, 2015

sudo apt-get install anjuta

安裝 IDE 時出現錯誤。這個錯誤是關於什麼的?但是,我能夠成功安裝 IDE

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'

它是由添加自定義 MIME 類型的 KDE 庫引起的。

修復它:

sudo mv /usr/share/mime/packages/kde.xml /usr/share/mime/packages/kde.xml.bak
sudo update-mime-database /usr/share/mime

引用自:https://unix.stackexchange.com/questions/193091