Summary: | update-mime-database complains about unknown media types | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | minj4ever |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | minor | CC: | bugzilla, cabanur, elvis.angelaccio, giecrilj, j, jejomarcariaga.jc, johnsc301, kde-bug, kdebugs, kdeu, luuk34, mauromol, nathanielmbeaver, rcb, shtetldik, thierry, xypron.glpk |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
minj4ever
2012-07-16 19:42:53 UTC
sorry, the chemical/* stuff comes from gcu-bin This is still happening with KDE 4.12.4 in Debian testing. I get less errors though: Processing triggers for shared-mime-info (1.2-1) ... 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' Related Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525599 Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/289592 Should the spec be changed or the types removed from kde.xml? What are the effects of removing them from the xml-file? Are they used by any KDE applications (comment )? Gentoo's patches the file to remove the offending mimetypes: https://bugs.gentoo.org/show_bug.cgi?id=261446 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/kde-base/kdelibs/files/kdelibs-4.7.96-mimetypes.patch Freedesktop, this feature request does however not solve the problem, only makes it possible to hide it (for packagers), so I guess they don't want to hardcode an exception for KDE (can the case be made that some kind of meta-mimetype be added to the specification?): https://bugs.freedesktop.org/show_bug.cgi?id=16816 Here's the Debian bug for shared-mime-info: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469833 Same bug, but only for the "fonts/package"-mimetype, and thus marked as 'fixed': https://bugs.kde.org/show_bug.cgi?id=250924 *** Bug 250924 has been marked as a duplicate of this bug. *** Allowable media types are defined by IANA, see http://www.iana.org/assignments/media-types/media-types.xhtml If KDE needs media types not yet registered with IANA these should be preceded by "X-" as described in http://tools.ietf.org/html/rfc2046#section-6 Date: 2015-Jul-07 Upgrading from Wheezy to Jessie Still occurring: -- Processing triggers for shared-mime-info (1.3-1) ... 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' -- I'm confirming (still) the existence of this bug. *** This bug has been confirmed by popular vote. *** Same problem with kdelibs-4.14.3 on FreeBSD: 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' 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' It still happens in KDE Plasma 5.4.3 (Debian testing), but now it's way smaller: Processing triggers for shared-mime-info (1.5-2) ... Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' Are those even needed in /usr/share/mime/packages/kde.xml ? I still have this on the latest KDE Plasma 5.6.3. Running Arch 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' It seems that since 2008 this has been a irritation visual bug in kubuntu /ubuntu, even after fresh installs and after upgrading previous kubuntu releases. Why not fix update-mime-database to NOT complain about all/all and all/allfiles ? (should be simple enough ... if mime-type == all/all* ... don't moan about it... (if it cannot be removed from /usr/share/mime/packages/kde.xml for some good reason) Since this looks like a issue introduced with kde.xml, maybe David Faure <faure at kde.org> could look at it? Would be nice to solve a 8 year old bug. during apt-get operations: displays warnings Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' Saw other people mentioned it all over the place .. https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/289592 http://askubuntu.com/questions/39852/how-to-remove-warnings-like-unknown-media-type some google threads claim it's "solved", yet it persists. Maybe Kubuntu staff can contact the author listed in http://linux.die.net/man/1/update-mime-database and get this resolved?... Thomas Leonard<tal197 at users.sf.net> the author ? .. my 2c (I googled for a few minutes and couldn't find the source code for "update-mime-database" to look at source) someon wrote 3 month ago "Would be nice to solve a 8 year old bug." it would be nice that this would be solve before someone writes "Would be nice to solve a 8.5 year old bug." someon wrote 3 month ago "Would be nice to solve a 8 year old bug." it would be nice that this would be solve before someone writes "Would be nice to solve a 8.5 year old bug." I'm taking the liberty to close this report (it was "confirmed" by my vote in the first place). The fake mimetypes have been removed from kcoreaddons's kde5.xml file: https://github.com/KDE/kcoreaddons/commit/36ff1bf60c9b12c28ed4d7566abceac10cab345e They still are defined in the old kdelibs package, but we cannot remove them because it would break all the kde4 apps that are still using them. While kdelibs4 is still being released with new bugfixes, most of those kde4 apps are not. based on your comment, and on: http://www.iana.org/assignments/media-types it should not be RESOLVED WONTFIX but RESOLVED NOTABUG @ELVIS: thanks for the quick explanation! *** Bug 374640 has been marked as a duplicate of this bug. *** (In reply to Elvis Angelaccio from comment #14) > I'm taking the liberty to close this report (it was "confirmed" by my vote > in the first place). > > The fake mimetypes have been removed from kcoreaddons's kde5.xml file: > https://github.com/KDE/kcoreaddons/commit/ > 36ff1bf60c9b12c28ed4d7566abceac10cab345e > > They still are defined in the old kdelibs package, but we cannot remove them > because it would break all the kde4 apps that are still using them. While > kdelibs4 is still being released with new bugfixes, most of those kde4 apps > are not. Which means that shared-mime-info maintainers still get emails years after because those libraries are still in use, and not fixed. (In reply to Bastien Nocera from comment #17) > Which means that shared-mime-info maintainers still get emails years after > because those libraries are still in use, and not fixed. Sorry about that. These days we don't even release kdelibs anymore, so I don't really se what we can do from the KDE side. (In reply to Elvis Angelaccio from comment #18) > (In reply to Bastien Nocera from comment #17) > > Which means that shared-mime-info maintainers still get emails years after > > because those libraries are still in use, and not fixed. > > Sorry about that. These days we don't even release kdelibs anymore, so I > don't really se what we can do from the KDE side. I really don't think that's an excuse when you're creating problems for others. I wouldn't mind one bit if only KDE was impacted, but that's creating a burden of work for me, and emails in my inbox. It's really not fair for me to have to mop up problems KDE created in the first place. I've worked around the problem in shared-mime-info. I really shouldn't have had to. |