this post was submitted on 24 Jun 2023
7 points (100.0% liked)

Arch Linux

7705 readers
11 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

When using sudo yay it recommends not using sudo. It seems I had two different outcomes from using sudo and then from not using it. Having used it, what effect does this have?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago

With sudo it appears the dependencies for pkgbuild are downloaded then deleted but qv2ray, the main target remains uninstalled (manual intervention required) and it states qv2ray - exit status 10.

However on the second time without sudo the package is finished and a second install prompt appears, and the installation is successful.

So it appears to be that running makepkg with sudo was not permitted anyway, and there was no result. Also the packages (the cache you refer to?) were deleted following this.

I'll remember from now on the AUR is riskier than pacman and I'm glad the package was installed in /home. ๐Ÿค”