You are not logged in.

#1 2018-05-24 15:36:34

LinuxRocks
Member
Registered: 2010-01-20
Posts: 27

[SOLVED] Cant run pacman (Or AUR helper) as normal user

So, I have Arch installed and as root, I can pacman -S a package just fine. As a normal user, I am unable to make a package that requires deps because its times out trying to install using the repos.

I have to run pacman as root to install the deps and then do the makepkg -si.

When I have an AUR Helper installed, in this case, aurman, I am unable to refresh or install because of the same issue - repos time out and error. As Root, I am unable to test this because aurman refuses to run as root.

Any idea why pacman or the helpers would not run as  a normal user?

As a side note, wget and git work without issue, so I have network.

Thanks!
Joe

Last edited by LinuxRocks (2018-05-24 16:01:55)

Offline

#2 2018-05-24 15:42:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] Cant run pacman (Or AUR helper) as normal user

You have to set up sudo so that makepkg can invoke it to elevate permissions as needed.

https://wiki.archlinux.org/index.php/Makepkg#Usage

Mod note: Not a packaging issue, moving to NC.

Offline

#3 2018-05-24 16:01:42

LinuxRocks
Member
Registered: 2010-01-20
Posts: 27

Re: [SOLVED] Cant run pacman (Or AUR helper) as normal user

Ahhh HA, your a genius... I had to add the defaults to pass the proxy information to sudo elevation smile.

Thanks a million for the info!
Joe

Offline

Board footer

Powered by FluxBB