yay -Si calls pacman -Si for repo packages

Created on 7 Jul 2017  路  7Comments  路  Source: Jguer/yay

yay -Si is implemented for AUR packages so Repo packages should also have the same privilege.

Most helpful comment

yay -Si <AUR package>
does not requires root privileges

yay -Si <repo package>
requires root privilages.
this does not make sense to me, because other AUR helpers like pacaur, yaourt, or trizen do not need root privileges in this case. can you explain this or even better: change it?

All 7 comments

Isn't it working for master?

It's working, it's just how it works:
AUR package:
yay calls own function
Repo package:
yay calls pacman as a command

Would just feel better for yay to parse repo package information itself since it already has access to the package DB.

yay -Si <AUR package>
does not requires root privileges

yay -Si <repo package>
requires root privilages.
this does not make sense to me, because other AUR helpers like pacaur, yaourt, or trizen do not need root privileges in this case. can you explain this or even better: change it?

It is a bit weird, since it calls pacman for repo packages, and pacman -Si does not require sudo. Why does it ask for password?

Fixed in master. We're really overdue a release.

True, time to create a release to do list like updating documentation, completions and release notes and releasing a new version

thanks a lot.
the latest release of yay is a great one!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drrlvn picture drrlvn  路  4Comments

nivaca picture nivaca  路  4Comments

tapir picture tapir  路  3Comments

pantuts picture pantuts  路  3Comments

x70b1 picture x70b1  路  4Comments