kitsunyan / pakku

Pacman wrapper with AUR support
GNU General Public License v3.0
130 stars 8 forks source link

Request: Remove sudo dependency #45

Open johnyradio opened 5 years ago

johnyradio commented 5 years ago

i choose not to use sudo. But pakku requires it:

% pakku -S compton-conf
:: Resolving build targets...
checking AUR database...
(1/1) cloning repositories                             00:00 [################################] 100%
resolving dependencies...

Packages (1) compton-conf-0.14.1-1

:: Proceed with building? [Y/n] 
downloading comments from AUR...
:: View and edit compton-conf/PKGBUILD? [Y/n/s/a/?] 
:: Enter editor executable name: 
:: Import PGP key 7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3? [Y/n/c/a/?] 

:: Installing build dependencies...
[sudo] password for johny: 
johny is not in the sudoers file.  This incident will be reported.

Please remove sudo requirement. thx

kitsunyan commented 5 years ago

It doesn't depend. However, it will use it if you have sudo. Why do you even have sudo if you don't use it?

johnyradio commented 5 years ago

I don't have sudo.

The install process asked me for my sudo password. I don't have one.

I noticed printf does the same, so this is not a pakku-only thing.

kitsunyan commented 5 years ago

I don't have sudo.

No, you do have.

[sudo] password for johny: johny is not in the sudoers file. This incident will be reported.

Arch Linux uses this prompt for sudo. The error message is from sudo. sudo is also included to base-devel group which is required for makepkg, and I'm almost 100% sure you've installed all packages from this group and didn't remove sudo.

mrvik commented 5 years ago

You should configure sudo after installing Arch. See sudo(8) and sudoers(5) or: