The update from kde-plasma/plasma-mimeapps-list version 1 to 2 moves a configuration file from /etc/xdg/mimeapps.list/mimeapps.list to /etc/xdg/mimeapps.list Neither dispatch-conf nor etc-update is able to handle moving the mimeapps.list _file_ to a location where a directory _of the same name_ exists. Error message from dispatch-conf (when selecting "use-new") is: dispatch-conf: Error renaming /etc/xdg/._cfg0000_mimeapps.list to /etc/xdg/mimeapps.list: [Errno 21] Is a directory: '/etc/xdg/._cfg0000_mimeapps.list' -> '/etc/xdg/mimeapps.list'; fatal etc-update fails in a different way, creating an infinite loop continuously offering to update the file each time you tell it to do so.
/etc/xdg/mimeapps.list is a system-wide config; kde shouldn't hijack it. This file should probably be installed to /etc/xdg/KDE-mimeapps.list, assuming the info on arch wiki[1] is correct. [1]: https://wiki.archlinux.org/title/XDG_MIME_Applications#mimeapps.list
(In reply to Fat-Zer from comment #1) > /etc/xdg/mimeapps.list is a system-wide config; kde shouldn't hijack it. > This file should probably be installed to /etc/xdg/KDE-mimeapps.list, > assuming the info on arch wiki[1] is correct. > > [1]: https://wiki.archlinux.org/title/XDG_MIME_Applications#mimeapps.list A better spec is https://specifications.freedesktop.org/mime-apps-spec/1.0.1/, which is cited by the Gentoo kde-plasma/plasma-mimeapps-list-package as source material, but it agrees with your contention. And I agree: is seems that that the file is misnamed, but this bug is orthogonal to that issue.
(In reply to John R. Graham from comment #2) > A better spec is > https://specifications.freedesktop.org/mime-apps-spec/1.0.1/, which is cited > by the Gentoo kde-plasma/plasma-mimeapps-list-package as source material, > but it agrees with your contention. And I agree: is seems that that the file > is misnamed, but this bug is orthogonal to that issue. Ok, I've filed in another one to track this: https://bugs.gentoo.org/948681
*** Bug 948651 has been marked as a duplicate of this bug. ***
After deleting the empty dir /etc/xdg/mimeapps.list/ dispatch-conf worked. But update to plasma-mimeapps-list-2 recommended also.
This is now worked around via the changes in bug 948681.