On Sat, 2016-11-12 at 12:50 +0100, cagsm wrote:
On Sat, Nov 12, 2016 at 12:19 PM, Dominique Leuenberger / DimStar
wrote: Call the commands in sequence (as root, in one session please, not using sudo)$ time /usr/bin/update-mime-database /usr/share/mime
$ time /usr/bin/update-mime-database /usr/share/mime $ export PKGSYSTEM_ENABLE_FSYNC=0 $ time /usr/bin/update-mime-database /usr/share/mime
Is there a notable difference in the execution time between the first and the 2nd call (I'd expect yes... on my test system this changes from ~40s to ~2s).
there is a huge difference
The difference is expected - and shows that the infrastructure is correct; hence, some packages call it wrong.
During zypper dup I have seen a lot of those weird messages with tat all/all and all/allfiles unknown type complaints. Thats how I noticed that it was called many times over. But then again I have seen these mime messages for many years with opensuse distribution.
the all/all and all/allfiles are 'cosmetic noise' - the actual goal has to be to find what calls update-mime-database without the macro. This warrants a bug report in my opinion Cheers, Dominique