You are not logged in.

#26 Yesterday 18:49:38

Nima0908
Member
Registered: 2024-06-06
Posts: 21

Re: Problem with switching to aurutils from yay

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

#27 Yesterday 19:24:23

loqs
Member
Registered: 2014-03-06
Posts: 18,047

Re: Problem with switching to aurutils from yay

What is the output of `stat /etc/pacman.d/aur`?

Offline

#28 Yesterday 19:54:24

Nima0908
Member
Registered: 2024-06-06
Posts: 21

Re: Problem with switching to aurutils from yay

❯ 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

#29 Yesterday 19:56:41

seth
Member
Registered: 2012-09-03
Posts: 58,728

Re: Problem with switching to aurutils from yay

"stat /etc/pacman.d/" ?

Offline

#30 Yesterday 20:00:38

Nima0908
Member
Registered: 2024-06-06
Posts: 21

Re: Problem with switching to aurutils from yay

❯ 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

#31 Yesterday 20:49:28

loqs
Member
Registered: 2014-03-06
Posts: 18,047

Re: Problem with switching to aurutils from yay

What does tracing with strace reveal?

strace -f -e %file,write aur sync -c <packagename>

Last edited by loqs (Yesterday 21:02:54)

Offline

#32 Yesterday 21:07:53

Nima0908
Member
Registered: 2024-06-06
Posts: 21

Re: Problem with switching to aurutils from yay

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

Board footer

Powered by FluxBB