Installing a package from AUR as a non-sudoer fails with unhelpful output
I have given the main user on my machine access to pacman so I can do system updates as that user.
... root ALL=(ALL) ALL bradsk88 ALL = /usr/bin/pacman ...
If I run:
pamac install gitify-git
... as this "super" user, everything works fine.
But if I run it as my other user who has no elevated privileges.
$ pamac install gitify-git Warning: gitify-git is only available from AUR Preparing... Cloning gitify-git build files... fatal: unable to connect to aur.archlinux.org: aur.archlinux.org[0: 22.214.171.124]: errno=No route to host aur.archlinux.org[1: 2a01:4f9:c010:50::1]: errno=Network is unreachable Error: Failed to prepare transaction: Failed to clone gitify-git build files
It outputs "failed to clone" and some network errors.
This is not a git problem and it is not a network problem.
It is a permissions problem. But the error doesn't include any mention of permissions.