Packages

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Stable
  • Assigned To
    Emulatorman
    heckyel
  • Operating System Hyperbola GNU/Linux-libre
  • Severity Low
  • Priority Very Low
  • Reported Version Any
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Packages
Opened by gnusupport - 24/10/2019
Last edited by heckyel - 27/10/2021

FS#1458 - Chemical uknown media types

I do not know how to solve this. Some of packages is causing this problem. I do not know which one.

Description:

(4/4) Updating the MIME type database...
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’

Closed by  heckyel
27.10.2021 22:07
Reason for closing:  Won't implement
Additional comments about closing:  

Issue cannot be resolved as Plasma KDE was removed in Hyperbola Milky Way 0.4

Admin
g4jc commented on 29.10.2019 23:44

These MIME types come from KDE Desktop.

If you no longer run KDE you will need to run `pacman -R chemical-mime-data kdelibs` to remove these files.

You can run `sudo update-mime-database /usr/share/mime` to check if the warnings are still there.

I have removed chemical-mime-data and there is no error. But that does not solve the bug in my opinion. Why is the error appearing in the first place?

The remaining error is this:

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

Admin
g4jc commented on 30.10.2019 22:59
Why is the error appearing in the first place?

It's a very old bug that goes back to at least 2010:
https://bbs.archlinux.org/viewtopic.php?pid=1624689#p1624689

From what I understand it's an invalid MIME-Type used exclusively by KDE applications, and it was never fixed in update-mime-database since it is technically doing it's job of providing warnings for invalid types. The only way to completely avoid the errors is not to use KDE since they decided to use them. Changing them to be valid might be possible but it would break the applications which use them. The other option could be to hard-patch update-mime-database to hide the errors, but it is not a real solution to the underlying problem.

Maybe KDE developers or you could tell them to update those MIME data officially, would that be solution? I can do, but where to report to KDE?

Admin
g4jc commented on 31.10.2019 11:01

The upstream KDE Bug is https://bugs.kde.org/show_bug.cgi?id=303627 - which was labeled RESOLVED/INTENTIONAL (Won't Fix).

Gentoo used a hard-patch against update-mime-database and passed a new -q (quiet) option to conceal the warnings. That patch and a patch against kcoreaddons in a newer version of KDE which deprecated KDELibs available here: https://bugs.freedesktop.org/show_bug.cgi?id=16816

We'll have to decide on the best path to go for this bug, but it seems those are the only two options at this time.

Date User Effort (H:M)
watch my effort tracking timers

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing