Hello, on Manjaro 5.15.122-1 with KDE I did “pamac upgrade -a”
cp: target ‘/var/tmp/mamac/dbs/sync’: Not a directory
Error: Failed to prepare transaction: target not found: rttr
So after checking forum, i tried: pamac remove rttr
Then i have confirmed pamac update prompt:
Edit build files: [e]
Apply transaction ? [e/y/N] y
yet it said:
Transaction cancelled.
cp: target ‘/var/tmp/pamac/dbs/sync’: Not a directory
upon repeating the pamac upgrade, it complained the same for different package: kmediaplayer
So I have removed it too and ran “sudo pacman -Syyu”. It updated some keys and asked many times replacing packages like “Replace baloo with extra/baloo5? [Y/n]” so I have cancelled it and retry “pamac upgrade -a” with same result, only now it is “perl-class-accessor-lite”.
So as suggested on the forum, I have tried to “sudo mv /var/tmp/pamac $HOME/” (was it really needed to move to user /home instead of just deleting?) and now “pamac upgrade -a” found upgrades and installed it.
I am wondering what was wrong, how to prevent it and how to do things better next time?