-
Configure pacman to use Wget
Edit
pacman.conf$ sudo nano /etc/pacman.conf
Uncomment or add the following line
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
Save and exit.
-
Set Wget proxies and set Wget to use proxy
Edit
wgetrcsudo nano /etc/wgetrc
Find the following section in
wgetrcregarding proxy settings.# You can set the default proxies for Wget to use for http, https, and ftp. # They will override the value in the environment. #https_proxy = http://proxy.yoyodyne.com:18023/ #http_proxy = http://proxy.yoyodyne.com:18023/ #ftp_proxy = http://proxy.yoyodyne.com:18023/ # If you do not want to use proxy at all, set this to off. #use_proxy = on
Uncomment and edit the default proxies, or add your own default proxies for Wget. For example,
https_proxy = http://10.0.2.2:3128 http_proxy = http://10.0.2.2:3128 ftp_proxy = http://10.0.2.2:3128
Uncomment, or add the following line to set Wget
use_proxyon.use_proxy = on