You are not logged in.

#1 2020-07-05 04:06:21

leostereo
Member
From: Mendoza Argentina
Registered: 2013-05-18
Posts: 19
Website

install aurman / yay : can not exec "makepkg -si"

Hi guys, I need to install android studio.
Since yaourt is not available ... seems that aurman and yay are best options. (please stop me if not).
While trying to install aurman or yay, I cloned them and doing makepkg -si , two thinks happens:
1 if I install with root account , system yelds:
==> ERROR: Ejecutar makepkg como superusuario no está permitido ya que puede causar daños
(execute as super user is not allowed ... )
2  Installing with my regular user , returns : leo is not in the sudoers file.  This incident will be reported.

I dont know how to continue ...
Any idea ?
Leandro.


aguante la cumbia!!!

Offline

#2 2020-07-05 04:07:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: install aurman / yay : can not exec "makepkg -si"


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-07-05 09:20:05

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: install aurman / yay : can not exec "makepkg -si"

For someone new to the AUR (and I would argue generally, but who am I to say) aurman and yay are about the worst options you can choose. Just use makepkg, git and email notifications and "graduate" to an AUR helper when you actually need one.

https://wiki.archlinux.org/index.php/Ar … Repository

Last edited by Alad (2020-07-05 09:23:30)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#4 2020-07-05 12:36:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,522
Website

Re: install aurman / yay : can not exec "makepkg -si"

leostereo wrote:

... seems that aurman and yay are best options. (please stop me if not).

Stop.  They are not.  As noted above, makepkg is.  In fact, not only is it the best option, it is the only officially supported option.

What this means in practice, is even if you eventually start using some AUR helper (eventually, once you know how things work), even then when you have trouble building an AUR package, you should attempt to use makepkg itself before posting for help.

Last edited by Trilby (2020-07-05 12:37:34)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2020-07-05 13:36:38

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: install aurman / yay : can not exec "makepkg -si"

leostereo wrote:

2  Installing with my regular user , returns : leo is not in the sudoers file.  This incident will be reported.

I think you need to set up sudo on your machine.
https://wiki.archlinux.org/index.php/Sudo

Offline

#6 2020-07-05 14:15:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,844
Website

Re: install aurman / yay : can not exec "makepkg -si"

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#7 2020-07-05 14:41:46

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: install aurman / yay : can not exec "makepkg -si"

I think you need to set up sudo on your machine.
https://wiki.archlinux.org/index.php/Sudo

makepkg doesn't run with sudo .

The -r / --rmdeps , -s / --syncdeps and -i --install options do require root rights, but that's because pacman is used to execute those options.

Giving the regular user sudo access to pacman helps with that, but I'm positive there's a fallback option.

Leostereo , please post exact command and output . prepend the command with LC_ALL=C to get output in english.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#8 2020-07-05 15:16:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,522
Website

Re: install aurman / yay : can not exec "makepkg -si"

Lone_Wolf wrote:

makepkg doesn't run with sudo.

I'm not sure what that means - but makepkg does attempt to use sudo if it is installed when it calls pacman.

Lone_Wolf wrote:

I'm positive there's a fallback option.

Not really.  There is if sudo is not installed, but if it is installed it is required to be configured properly or makepkg will fail on installing dependencies (or the built package) when sudo fails.

Last edited by Trilby (2020-07-05 15:17:18)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2020-07-06 12:42:59

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: install aurman / yay : can not exec "makepkg -si"

Maybe I should have said " sudo makepkg will fail . "

Thanks for the explanation about the fallback option not working when sudo is installed.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB