22

I reinstalled the Amarok player in my Kubuntu 14.04 because it seemed buggy. I noticed this in the terminal:

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) ...

Look at all the unknowns. Could these be the cause of the player not working correctly? How can I fix this if it is, an error?

Lucio
  • 19,191
  • 32
  • 112
  • 191
Demiurgetheartisan
  • 253
  • 1
  • 3
  • 10

2 Answers2

31

it is a bug, see https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/289592

try

sudo rm /usr/share/mime/packages/kde.xml 
sudo update-mime-database /usr/share/mime
Panther
  • 104,528
1

Not sure what the error means but I'll share with you what worked for me.

Basically just delete all the erroneous mime-types in the kde.xml file.

After that run:

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

The first two should look something like;

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

Do likewise with the rest, then logout/login as needed.

Source

d a i s y
  • 5,551