A probléma a kdelibs5-data könyvtárcsomag bugja
Forrás:
https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/289592
(nem fordítottam le teljesen magyarra a javaslatokat)
A MIME adatbázis frissítésekor jelentkezik
- MIME röviden: fájl(típus)társítás
sudo update-mime-database /usr/share/mime
[...]
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 'fonts/package'
Unknown media type in type 'interface/x-winamp-skin'
It seems to come from this file:
/usr/share/mime/packages/kde.xml
___
Megoldások:
1.) Ez nálam bevállt:
Forrás:
https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/289592/comments/27
( https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/289592 )
actually you can fix it simply by doing
sudo rm /usr/share/mime/packages/kde.xml
sudo update-mime-database /usr/share/mime
2.) Ha valaki kicsit más megoldást próbálna ki:
A
http://mapopa.blogspot.hu/2011/01/fixing-unknown-media-type-in-type.html
linken található megoldás (hátha valakinek ez jön be):
you can see the file and the package that contains it
dpkg -S /usr/share/mime/packages/kde.xml
kdelibs5-data: /usr/share/mime/packages/kde.xml
what i did is to delete the lines with the errors
sudo vi /usr/share/mime/packages/kde.xml
and deleted the lines corresponding to the error
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 'fonts/package'
Unknown media type in type 'interface/x-winamp-skin'
and here is the diff on my debian
http://paste.ubuntu.com/556917/
after that the update-mime-database worked without errors
sudo update-mime-database -V /usr/share/mime
Updating MIME database in /usr/share/mime...
Wrote 959 strings at 2c - 5418
Wrote aliases at 5418 - 594c
Wrote parents at 594c - 6d34
Wrote literal globs at 6d34 - 6dec
Wrote suffix globs at 6dec - ffc8
Wrote full globs at ffc8 - 10008
Wrote magic at 10008 - 19cf0
Wrote namespace list at 19cf0 - 19d30
Wrote icons list at 19d30 - 19d44
Wrote generic icons list at 19d44 - 1a818
Wrote types list at 1a818 - 1b414
A megoldás itt is elérhető:
http://db.tt/FO5kNRbB