Doing this: $ pamac checkupdates
results in this:
cp: target '/var/tmp/pamac/dbs/sync': Not a directory
cp: target '/var/tmp/pamac/dbs/sync': Not a directory
touch: cannot touch '/var/tmp/pamac/dbs/sync/refresh_timestamp': Not a directory
chmod: cannot access '/var/tmp/pamac/dbs/sync/refresh_timestamp': Not a directory
and $ ls -la /var/tmp/pamac/dbs/
gives me this:
total 28
drwxrwxrwx 2 root root 4096 Aug 23 11:41 .
drwxrwxrwx 5 taylor taylor 4096 Aug 23 11:40 ..
lrwxrwxrwx 1 root root 21 Aug 23 11:41 local -> /var/lib/pacman/local
-rw-r--r-- 1 root root 17920 Aug 23 11:40 sync
It looks like ‘sync’ is a binary file instead of a directory. What can I do to fix it?