类型“all/all”中的未知媒体类型是什么意思?

类型“all/all”中的未知媒体类型是什么意思?

我重新安装了 Kubuntu 14.04 中的 Amarok 播放器,因为它似乎有问题。我在终端中注意到了这一点:

david@EMACHINE:~$ sudo apt-get install --reinstall amarok
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 5,715 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://mirror.lstn.net/ubuntu/ trusty/universe amarok i386 2:2.8.0-0ubuntu3 [5,715 kB]
Fetched 5,715 kB in 2s (2,611 kB/s) 
(Reading database ... 128504 files and directories currently installed.)
Preparing to unpack .../amarok_2%3a2.8.0-0ubuntu3_i386.deb ...
Unpacking amarok (2:2.8.0-0ubuntu3) over (2:2.8.0-0ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
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'
Processing triggers for man-db (2.6.7.1-1) ...
Setting up amarok (2:2.8.0-0ubuntu3) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...

看看所有未知因素。这些可能是导致播放器无法正常工作的原因吗?如果是错误,我该如何修复?

答案1

这是一个错误,请参阅https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/289592

尝试

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

答案2

不确定该错误意味着什么,但我会与您分享对我有用的方法。

基本上只是删除文件中所有错误的 mime 类型kde.xml

运行之后:

sudo update-mime-database /usr/share/mime

前两个看起来应该像这样;

<mime-type type="all/all">
  <comment>all files and folders</comment>
  </mime-type>
  <mime-type type="all/allfiles">
  <comment>all files</comment>
</mime-type>

对其余操作进行同样操作,然后根据需要注销/登录。

来源

相关内容