You are not logged in.

#1 2016-01-22 11:51:36

Dijuna
Member
Registered: 2015-12-13
Posts: 11

[SOLVED] "Unknown media type in type [...]" for update-mime-database

When installing mysql-workbench, I get errors (warnings?) like this:

Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'

There are many more on my other installation (with KDE, instead of Gnome 3 - that's the only real difference I can think of):

Unknown media type in type 'chemical/x-alchemy'
Unknown media type in type 'chemical/x-cache'
Unknown media type in type 'chemical/x-cactvs-ascii'
Unknown media type in type 'chemical/x-cactvs-binary'
Unknown media type in type 'chemical/x-cactvs-table'
Unknown media type in type 'chemical/x-cdx'
Unknown media type in type 'chemical/x-cdxml'
Unknown media type in type 'chemical/x-chem3d'
Unknown media type in type 'chemical/x-cif'
Unknown media type in type 'chemical/x-cml'
Unknown media type in type 'chemical/x-daylight-smiles'
Unknown media type in type 'chemical/x-dmol'
Unknown media type in type 'chemical/x-gamess-input'
Unknown media type in type 'chemical/x-gamess-output'
Unknown media type in type 'chemical/x-gaussian-input'
Unknown media type in type 'chemical/x-gaussian-log'
Unknown media type in type 'chemical/x-genbank'
Unknown media type in type 'chemical/x-gulp'
Unknown media type in type 'chemical/x-hin'
Unknown media type in type 'chemical/x-inchi'
Unknown media type in type 'chemical/x-inchi-xml'
Unknown media type in type 'chemical/x-jcamp-dx'
Unknown media type in type 'chemical/x-macromodel-input'
Unknown media type in type 'chemical/x-mdl-molfile'
Unknown media type in type 'chemical/x-mdl-rdfile'
Unknown media type in type 'chemical/x-mdl-rxnfile'
Unknown media type in type 'chemical/x-mdl-sdfile'
Unknown media type in type 'chemical/x-mdl-tgf'
Unknown media type in type 'chemical/x-mmcif'
Unknown media type in type 'chemical/x-mol2'
Unknown media type in type 'chemical/x-mopac-graph'
Unknown media type in type 'chemical/x-mopac-input'
Unknown media type in type 'chemical/x-mopac-out'
Unknown media type in type 'chemical/x-msi-car'
Unknown media type in type 'chemical/x-msi-hessian'
Unknown media type in type 'chemical/x-msi-mdf'
Unknown media type in type 'chemical/x-msi-msi'
Unknown media type in type 'chemical/x-ncbi-asn1'
Unknown media type in type 'chemical/x-ncbi-asn1-binary'
Unknown media type in type 'chemical/x-ncbi-asn1-xml'
Unknown media type in type 'chemical/x-pdb'
Unknown media type in type 'chemical/x-shelx'
Unknown media type in type 'chemical/x-vmd'
Unknown media type in type 'chemical/x-xyz'
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'

Should I be doing anything about it? Same errors appear when I'm trying to do:

# update-mime-database /usr/share/mime

Last edited by Dijuna (2016-01-22 12:59:46)

Offline

#2 2016-01-22 12:58:12

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] "Unknown media type in type [...]" for update-mime-database

These are harmless messages and you can ignore them.

Offline

#3 2016-01-22 12:59:56

Dijuna
Member
Registered: 2015-12-13
Posts: 11

Re: [SOLVED] "Unknown media type in type [...]" for update-mime-database

Marking as solved then, thanks.

Offline

#4 2016-11-08 20:00:13

tuxfusion
Member
Registered: 2007-12-31
Posts: 98

Re: [SOLVED] "Unknown media type in type [...]" for update-mime-database

x33a wrote:

These are harmless messages and you can ignore them.

This is not helping anyone nor does it describe the situation correctly. As I value arch bbs threads higher then others, i feel offended by this ^^

This is what I found out, I'm no expert, it just annoys me to death and I'm going the alter or delete the file after this post:

It's a bug. It won't be fixed, because of backward compatibility from KDE to KDE4.

Old KDE4 file contains bogus mime types:

/usr/share/mime/packages/kde.xml

New file, /usr/share/mime/packages/kde5.xml was fixed by devs here:

https://bugs.kde.org/show_bug.cgi?id=303627

git commit: https://github.com/KDE/kcoreaddons/comm … c10cab345e

Why I have the "old" file in a plain kde5 /plasma environment is beyond my knowledge:

pkgfile /usr/share/mime/packages/kde.xml
extra/kdelibs

It seems to be adependency to ~100 kde packages so uninstallable so far.

Some fixes are to remove the "fake" entries or rename the xml file :

http://askubuntu.com/questions/39852/ho … media-type

one possible way to rename the kde4 file, removes the "all/all" stuff:

$ mv /usr/share/mime/packages/kde.xml{,.bkp}

The "chemical" stuff might result from the kdeedu meta package. To get rid of only them you could consider removing "kdeedu-kalzium" and dependencies.

One needs to note the problem seems to be in the verbosity in update-mime-database, that should not complain after almost every system update, however.
As always in open source, small end user stuff will never be fixed. Here is a *8* year old request for that exact issue:

https://bugs.freedesktop.org/show_bug.cgi?id=16816

This is for the endless people that Google sends here.

Last edited by tuxfusion (2016-11-08 20:24:47)

Offline

Board footer

Powered by FluxBB