Bug 26151 - "font/*" is an invalid MIME type
Summary: "font/*" is an invalid MIME type
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-01-30 10:08 CET by Alexander Krylov
Modified: 2023-02-28 09:53 CET (History)
7 users (show)

See Also:
Source RPM: desktop-file-utils-0.23-5.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Alexander Krylov 2020-01-30 10:08:26 CET
Description of problem:
Invocation of update-desktop-database command shows the following error:

Error in file "/usr/share/applications/org.kde.kfontview.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type)
Error in file "/usr/share/applications/org.kde.kfontview.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type)

There's an upstream bug report with proposed patch here: https://bugs.freedesktop.org/show_bug.cgi?id=105785

Can someone have this bug fixed in Mageia as well?

Version-Release number of selected component (if applicable):
desktop-file-utils-0.23-5.mga7


Steps to Reproduce:
1. Run update-desktop-database command as root
Comment 1 Lewis Smith 2020-01-30 12:45:21 CET
Thank you for this report and the pointer. That correction seems to date from as long ago as 2018-04-10.
'desktop-file-utils' is currently at desktop-file-utils-0.23-5.mga7, but a newer version is in Cauldron.

Assigning to Jani, the active registered maintainer for this.

Assignee: bugsquad => jani.valimaa

Comment 2 Jani Välimaa 2020-01-30 18:04:09 CET
Should be fixed in desktop-file-utils-0.23-5.1.mga7 available soon in core/updates_testing for mga7. Please test.

Assignee: jani.valimaa => qa-bugs
CC: (none) => jani.valimaa

Comment 3 Alexander Krylov 2020-01-30 21:01:18 CET
Fix confirmed. No more errors shown.
Comment 4 Herman Viaene 2020-02-02 11:34:06 CET
MGA7-64 Plasma on Lenovo B50
No installation issues
Run as root
# update-desktop-database
No feedback at all.
If this can be confirmed to be the expected behavior, I'll be happy to OK this update.

CC: (none) => herman.viaene

Comment 5 Len Lawrence 2020-02-03 10:28:36 CET
@Herman, comment 4.
Looks correct; your comment matches Alexander's.

For Mate the command gives:
Error in file "/usr/share/applications/org.kde.kfontview.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type)
Error in file "/usr/share/applications/org.kde.kfontview.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type)
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type)
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type)
Warning in file "/usr/share/applications/displaycal-vrml-to-x3d-converter.desktop": usage of MIME type "x-world/x-vrml" is discouraged (the use of "x-world" as media type is strongly discouraged in favor of a subtype of the "application" media type)

After update:
# update-desktop-database
Warning in file "/usr/share/applications/displaycal-vrml-to-x3d-converter.desktop": usage of MIME type "x-world/x-vrml" is discouraged (the use of "x-world" as media type is strongly discouraged in favor of a subtype of the "application" media type)

As this is a warning and the errors have gone I would assume that the problem is fixed, so go ahead and OK it.

CC: (none) => tarazed25

Herman Viaene 2020-02-03 10:44:59 CET

Whiteboard: (none) => MGA7-64-OK

Comment 6 Thomas Andrews 2020-02-03 22:31:03 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Thomas Backlund 2020-02-04 11:30:20 CET

Keywords: (none) => advisory
CC: (none) => tmb

Comment 7 Mageia Robot 2020-02-04 12:08:24 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0042.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 8 jonas wade 2023-02-28 09:53:31 CET Comment hidden (spam)

CC: (none) => arunn3620


Note You need to log in before you can comment on or make changes to this bug.