Bug 1541225
Summary: | unknown media type messages and others received during upgrade | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | George R. Goffe <grgoffe> |
Component: | plasma-desktop | Assignee: | KDE SIG <kde-sig> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | awilliam, bruno, denis.arnaud_fedora, dennis.schridde, fedora, i, ignatenko, jgrulich, jspaleta, kde-sig, me, m.shukhrat, rdieter, rosset.filipe, tcarlin, than |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-10 00:44:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
George R. Goffe
2018-02-02 03:23:08 UTC
Possibly this is related to a recent change: Remove obsolete scriptlets https://src.fedoraproject.org/rpms/hugin/c/69ef65ee0fcd3233b7db36243721c55422da9272?branch=master (In reply to Bruno Postle from comment #1) > Possibly this is related to a recent change: > > Remove obsolete scriptlets > https://src.fedoraproject.org/rpms/hugin/c/ > 69ef65ee0fcd3233b7db36243721c55422da9272?branch=master Totally unrelated, fix your desktop file ;) rpm -qf /usr/share/applications/org.kde.kfontview.desktop plasma-desktop-5.11.95-1.fc28.x86_64 Except the old calls per https://fedoraproject.org/w/index.php?title=Packaging:Scriptlets&oldid=494574#desktop-database was supposed to redirect output to /dev/null So, yes related. The scriptlets should not show any output. Took the liberty of fixing that, https://src.fedoraproject.org/rpms/desktop-file-utils/c/a98dda4413987cc531e47127e87f52980bc3ecac?branch=master This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. I guess this bug report is just about these lines, as the rest is unrelated to plasma-desktop:
> 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)
These are also present on Fedora 27 with plasma-desktop-5.12.2-1.fc27.x86_64, almost every time I install, update or remove a package.
desktop-file-utils-0.23-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c1e573d9d7 desktop-file-utils-0.23-6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1f0f2805f1 shared-mime-info-1.9-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-975e9f8b47 In the case of font/ttf, that appears to be valid and included in shared-mime-info's freedesktop.org.xml, so update-desktop-database is incorrectly warnings about it. As for chemical/ , that's up to maintainers of chemical-mime-data ultimately (bug #1336932) desktop-file-utils-0.23-6.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c1e573d9d7 shared-mime-info-1.9-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-975e9f8b47 desktop-file-utils-0.23-6.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1f0f2805f1 *** Bug 1556716 has been marked as a duplicate of this bug. *** desktop-file-utils-0.23-6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. desktop-file-utils-0.23-6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. shared-mime-info-1.9-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. Was silencing these really the right answer? They're valid errors (the font one was not invalid, see https://bugzilla.redhat.com/show_bug.cgi?id=1564650 and https://bugs.freedesktop.org/show_bug.cgi?id=105785 ). Yes, package scriptlets should be silent. Nice to see desktop-file-utils was fixed properly to recognize the new font/ mimetypes though. "Yes, package scriptlets should be silent." I don't really agree, and the guidelines don't say so anywhere I can see. They say scriptlets must exit 0, not that they must be silent. When scriptlets hide errors, I mean...we don't know that they're failing. That's surely not a good thing. I can see the argument for hiding errors that you *know* are going to happen sometimes - like if you know this scriptlet might attempt to run when some dependency is missing, and it's fine if it just fails in that case - but otherwise, I don't think 'they should be silent' is a good rule. Still, it'd be more appropriate to discuss on a list or something, I guess. |