问题描述
我在 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) ...
看看所有的未知数。这些可能是播放器无法正常工作的原因吗?如果是错误,我该如何解决?
最佳思路
这是一个错误,见 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