When updating the system with paru I notice the following error during the MIME Type database update:
:: Running post-transaction hooks...
( 1/10) Creating system user accounts...
( 2/10) Reloading system manager configuration...
( 3/10) Creating temporary files...
( 4/10) Arming ConditionNeedsUpdate...
( 5/10) Updating the MIME type database...
Error in type 'application/x-core' (in /usr/share/mime/packages/freedesktop.org.xml): Error in <match> element: Mask is longer than value.
Error in type 'image/jp2' (in /usr/share/mime/packages/freedesktop.org.xml): Error in <match> element: Mask is longer than value.
Error in type 'image/jpx' (in /usr/share/mime/packages/freedesktop.org.xml): Error in <match> element: Mask is longer than value.
Error in type 'image/jpm' (in /usr/share/mime/packages/freedesktop.org.xml): Error in <match> element: Mask is longer than value.
Error in type 'video/mj2' (in /usr/share/mime/packages/freedesktop.org.xml): Error in <match> element: Mask is longer than value.
Error in type 'image/vnd.adobe.photoshop' (in /usr/share/mime/packages/freedesktop.org.xml): Error in <match> element: Mask is longer than value.
( 6/10) Updating the appstream cache...
✔ Metadata cache was updated successfully.
I’m not sure if something broke upstream with these file types. Thought I would check in here with you all.
You’re welcome, you can try and run manually update-mime-database with -nV triggers to have a more verbose output and only update if MIME-DIR/packages/ or a file in that directory is newer than MIME-DIR/version.
Check out here the functionality: https://man.archlinux.org/man/update-mime-database.1 shared-mime-info registers a pacman hook to run post-installation.
Also remember that the newer version of libxml2 has a non-deterministic behavior, sometimes results in errors, and other times not.