Jazz
26 July 2022 00:01
1
I just encountered the following issue when I ran pamac update -a
:
$ ls -al /var/tmp/pamac/dbs/sync/pamac_aur.db
-rw-rw-rw- 1 root root 2560 Jul 24 23:41 /var/tmp/pamac/dbs/sync/pamac_aur.db
$ pamac update -a
Preparing...
Synchronizing package databases...
Checking android-platform dependencies...
cp: cannot create regular file '/var/tmp/pamac/dbs/sync/pamac_aur.db': Permission denied
Error: Failed to prepare transaction: target not found: android-platform
Edit build files : [e]
Apply transaction ? [e/y/N]
The issue repeats for every single AUR package.
Should I just manually change the ownership of the pamac_aur.db
file, or is this a bug?
Probably. You should own /var/tmp/pamac and everything under.
1 Like
in my system the path and permissions are different…
ls -l /var/tmp/pamac/pamac_aur.db
-rw-r--r-- 1 xavier xavier 2560 jul 20 11:30 /var/tmp/pamac/pamac_aur.db
pamac upgrade --aur
Cita ```
pamac update -a
> Cita ```
cp: cannot create regular file '/var/tmp/pamac/dbs/sync/pamac_aur.db': Permission denied
Error: Failed to prepare transaction: target not found: android-platfor
what I wanted to tell you was:
Don’t you have a file “pamac_aur.db” in the above path? why create another one…android platform?..what is this for? i don’t have knowledge to help either…
Yes,.permissions (of files) are 644 and not 666, forgot to mention that.
Jazz
26 July 2022 07:18
5
Is everything under your /var/tmp/pamac
according to 755/644 rule? Just noticed that my /var/tmp/pamac
and /var/tmp/pamac/dbs/sync
are 777.
Yes, that’s fine. Folders are 777 for whatever reason.
1 Like
system
Closed
28 July 2022 21:50
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.