Any idea why this happens?
$ pamac update -a
Checking keyring... ...
Running post-transaction hooks...
Arming ConditionNeedsUpdate... [1/2]
Updating the desktop file MIME type cache... [2/2]
rm: cannot remove '/var/tmp/pamac/dbs/sync': Is a directory
Transaction successfully finished.