pamac
complains about not permitted operations:
cp: preserving times for '/var/tmp/pamac/dbs/sync': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync': Operation not permitted
updates from repo and AUR result in succes, /var/log/pacman.log
shows no errors.
example
pamac remove --orphans
searching orphans ...
Preparing...
cp: preserving times for '/var/tmp/pamac/dbs/sync': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync': Operation not permitted
Checking dependencies...
To remove (3):
python-toolz 0.12.1-2 extra
libtermkey 0.22-3 extra
python-pyrate-limiter 3.6.0-2 extra
Total removed size: 1,0 MB
Apply transaction ? [y/N] y
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Hans (h)
Password:
==== AUTHENTICATION COMPLETE ====
Removing python-toolz (0.12.1-2)... [1/3]
Removing libtermkey (0.22-3)... [2/3]
Removing python-pyrate-limiter (3.6.0-2)... [3/3]
Running post-transaction hooks...
Arming ConditionNeedsUpdate... [1/1]
Transaction successfully finished.
There are some old db files in /var/tmp/pamac/dbs/sync
from the deprecated community repo & mesa-nonfree that I do not need anymore. cleaned out the old files
pamac upgrade
gives the same error.
The folder /var/tmp/pamac/dbs/sync
is owned by root with these permissions: drwxrwxrwx
files inside are owned by the user.
I would expect pamac to ask for elevated rights as usual.
$ pamac list --installed | grep pamac
libpamac 11.6.4+2+g1421283-1 extra 3,9 MB
pamac-cli 11.6.0-4 extra 184,7 kB
pamac-gnome-integration 11.7.1-3 extra 14,7 kB
pamac-gtk 11.7.1-3 extra 556,4 kB