在我的Mint Debian上,安装KDE桌面环境,再后来进入KDE安装或者卸载软件的时候,时不时的出现这样的错误提示:

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一下发现,这个BUG早就有人提交过了。解决办法在这里(http://www.garyshood.com/unknownmedia/)。
首先找到kde.xml,我的路径在

先备份
sudo cp /usr/share/mime/packages/kde.xml /usr/share/mime
然后编辑一下,找到相关的标签,用”all/all”关键字一下就能找到,删除之。

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>

转载于:https://blog.51cto.com/alina64/1439573

Unknown media type in type ‘all/all’ 的解决办法相关推荐

  1. invalid use of incomplete type struct 或者是class的解决办法

    在写完代码之后进行编译时,提示"invalid use of incomplete type struct" 或者 "invalid use of incomplete ...

  2. 错误“checking build system type... config.sub: missing argument”的解决办法

    背景:交叉编译avahi库时遇到错误"checking build system type... config.sub: missing argument" ,"conf ...

  3. Unknown module(s) in QT: webenginewidgets原因及解决办法

    今天学习时,想使用QWebEngineView做一个显示网页的小项目.在.pro文件中加入QT += webenginewidgets这句后,编译一直报下面错误 Project ERROR: Unkn ...

  4. flask查询User,返回对象列表,提示ypeError: Object of type ‘bytes‘ is not JSON serializable解决办法

    先把对象转换字典: class User(db.Model):__tablename__ = 'user'id = db.Column(db.INTEGER,primary_key=True)logi ...

  5. Bean named**is expected to be of type**but was actually of type ‘com.sun.proxy.$Proxy**的解决办法

    错误描述: Caused by: org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named '****' ...

  6. no rule to process file xxxxxxxxx of type XXXXXX.h for architecture i386解决办法

    1.每次遇到黄色警告就头疼,一方面log一大堆,不想看.二来解决麻烦. 2直接说解决办法 TARGET →Build Phases →  Compile  Source→ 删除报错的xxxxx.h文件 ...

  7. linux下出现ping:unknown host www.baidu.com问题时的解决办法——ubuntu下局域网络的配置...

    如果ping域名的时候出现ping:unknown host  xxx.xxx 但是ping IP地址的时候可以通的话 可知是dns服务器没有配置好, 查看一下配置文件/etc/resolv.conf ...

  8. Hibernate出现org.hibernate.MappingException: Unknown entity: com.gxuwz.hiberbate.entity.User的解决办法

    今天在学习Hibernate的时候出现这样的问题 报错信息如下: WARN: HHH000233: Scoping types to session factory org.hibernate.int ...

  9. linux下出现ping:unknown host www.baidu.com问题时的解决办法——ubuntu下局域网络的配置

    如果ping域名的时候出现ping:unknown host  xxx.xxx 但是ping IP地址的时候可以通的话 可知是dns服务器没有配置好, 查看一下配置文件/etc/resolv.conf ...

  10. Unknown column 'JOIN.id' in 'order clause'和 Unknown column 'XXXX.id' in 'order clause'的解决办法

    在java读取数据中 经常会用到表连接,这就需要用到java原生语句就行表连接 @Query(value="SELECT * FROM news INNER JOIN typ ON n.tt ...

最新文章

  1. OpenCV中imread/imwrite与imdecode/imencode的异同
  2. python官网怎么改中文-如何配置pycharm为中文?
  3. C语言 第八章 函数、指针与宏
  4. 【C语言】求1到100的和
  5. python对二维数组统计某一行的去重计数_Python数据分析笔记——Numpy、Pandas库
  6. 基于库函数STM32流水灯的实现
  7. layout里添加xml文件没有在R.java里生成ID
  8. 织梦php 文章采集规则,采集规则的管理 --- 采集节点管理
  9. (附源码)Springboot通用办事流程管理软件 毕业设计 211819
  10. Java中.setvalue(-1)_Java State.setValue方法代碼示例
  11. www.skymaya.com:8080/index.php,www_skymaya_com
  12. 9-C++远征之多态篇-学习笔记
  13. BFD:Bidirectional Forwarding Detection 双向转发检测
  14. 模拟电路 二极管门电路(二)
  15. 企业APP联盟,抢占企业移动互联网时代营销制高点
  16. 网件交换机基本配置命令合集
  17. 分布式数据库TiDB的部署
  18. 如何优雅地申请Android运行时权限
  19. 【ML】线性回归 [多因子](LinearRegression)实践(基于sklearn)
  20. 004-PBR历史和概念

热门文章

  1. [Diary] 阳 伞
  2. php集合与数组的区别,java集合与数组的区别
  3. matlab 集成学习方法,将simulink集成到matlab脚本中
  4. MySQL高级 - 案例 - 系统性能优化 - 数据源配置
  5. 分布式ID-美团(Leaf)
  6. 类文件到虚拟机(类加载机制)
  7. AbstractBeanFactory 的getBean()方法调用FactoryBean
  8. 商品评价 - 实现分页
  9. 区域数据导入功能(pinyin4J使用)
  10. thymeleaf体验