#How do I make yay update all sources using system proxy?

2 messages · Page 1 of 1 (latest)

slim wigeon
#

I need to use a proxy to connect to the aur and one of the databases. The proxy supports http, https, ftp, and socks5 (I already exported the environmental variables). Operations involving the AUR uses proxy by default, the main problem is that root actions like updating official repos don't. I tried using sudo -E pacman -Syu and yay -Syu --aur separately, but when I use the second command sometimes the computer tries to update the official repos while installing some of the packages, which would fail as root operations don't inherit the system proxy by default. How can I make all download operations in yay use system proxy?

waxen aspen
#

pretty sure its possible in pacman.conf to set a proxy