You are not logged in.
Hello,
i had to remove the Solved thing from the post because somehow its not solved. When i run:
aur sync -c <packagename>
it runs into following error:
error: config file /etc/pacman.d/aur could not be read: No such file or directory
I checked the code which should be correct. Also the permissions are right and i dont have SElinux enabled. What could be the issue?
Here the code of /etc/pacman.d/aur
SigLevel = Optional TrustAll
Server = file:///var/cache/pacman/aur
[options]
CacheDir = /var/cache/pacman/pkg
CacheDir = /var/cache/pacman/aur
CleanMethod = KeepCurrent
Offline
What is the output of `stat /etc/pacman.d/aur`?
Offline
❯ stat /etc/pacman.d/aur
File: /etc/pacman.d/aur
Size: 171 Blocks: 8 IO Block: 4096 regular file
Device: 259,3 Inode: 28049572 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2024-11-24 18:42:10.372883909 +0100
Modify: 2024-11-21 15:45:39.459968006 +0100
Change: 2024-11-24 18:41:52.024118100 +0100
Birth: 2024-11-21 15:45:39.459968006 +0100
Offline
"stat /etc/pacman.d/" ?
Offline
❯ stat /etc/pacman.d/
File: /etc/pacman.d/
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 259,3 Inode: 28049410 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2024-11-24 13:26:11.755947386 +0100
Modify: 2024-11-21 15:45:39.460967977 +0100
Change: 2024-11-21 15:45:39.460967977 +0100
Birth: 2024-06-11 21:58:38.419305073 +0200
Offline
What does tracing with strace reveal?
strace -f -e %file,write aur sync -c <packagename>
Last edited by loqs (Yesterday 21:02:54)
Offline
strace -f -e %file aur sync -c <packagename>
reveals
[pid 84437] openat(AT_FDCWD, "/etc/pacman.d/aur", O_RDONLY) = 4
which indicates that is is opened correctly, so i dont understand why it still fails. I would say its a code error in my aur file but i dont see it
Offline