Yay: Does yay support proxy?

Created on 16 May 2019  路  5Comments  路  Source: Jguer/yay

Hi,

I just find that many packages are failed to be installed. For example, when I run yay -S libsepol, I get this error message:

Get https://aur.archlinux.org/rpc.php?arg%5B%5D=libsepol&type=info&v=5: dial tcp 5.9.250.164:443: i/o timeout

I think it is likely to be the problem with my network, so I used this:

proxychains yay -S libsepol

The the error message becomes:

Get https://aur.archlinux.org/rpc.php?arg%5B%5D=libsepol&type=info&v=5: dial tcp 224.0.0.1:443: connect: network is unreachable

The problem is that whatever package I am trying to install, if I add proxychains before the yay command, I will have the error message of network unreachable. How could I implement an efficient installlation?

Question

Most helpful comment

You're probably going to need a --rebuild in there is yay is already up to date.

All 5 comments

yay supports environment proxies (http_proxy and https_proxy) and supports proxychains when built with gcc-go (https://github.com/Jguer/yay/issues/429) as proxychains overloads a shared library that yay when compiled with go doesn't use since it's a static compile

Closing by innactivity

Hi, sorry for continue so late. Would you please be a little more specific ? How could I make proxychains work step by step?

  1. yay -S gcc-go (replace go)
  2. yay -S yay (or yay-git)

After this yay should be compatible with proxychains

You're probably going to need a --rebuild in there is yay is already up to date.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bazeeel picture bazeeel  路  4Comments

tapir picture tapir  路  3Comments

captn3m0 picture captn3m0  路  4Comments

parkerlreed picture parkerlreed  路  3Comments

Zeioth picture Zeioth  路  3Comments