(solved) using proxy to update system

For general ARCHLabs and Arch issues.
Please make a serious attempt to search for your issue before posting here.
We can't offer help if you have the Testing Repos enabled.

Moderator: Founder

(solved) using proxy to update system

PostPosted by fx101 » Fri Jun 09, 2017 8:49 am

hi all ,
i just installed archlabs today , i used to use apricityos for more than one year , but they closed the distro , although i am not familiar with openbox but i find this distro worth trying.
i am trying to update using proxy , after setting proxy
export http_proxy=myproxy:myport
pacman -Syu
i always get error failed to connect to port 80 connection refused
am i missing something?
thank you all .
Posts: 2
Joined: Fri Jun 09, 2017 8:26 am

Re: using proxy to update system

PostPosted by erikdubois » Fri Jun 09, 2017 8:10 pm

i have never set a proxy in my life
does the arch wiki provide you with any answers or their forum
Living to learn, learning to live.
Linux fits well in my life's motto.
More info on http://erikdubois.be
Archlabs support articles are on https://goo.gl/AaYI0b
Archlabs support youtube channel is on https://goo.gl/Lovquv
User avatar
Site Admin
Site Admin
Posts: 333
Joined: Sun Mar 05, 2017 5:42 am
Location: Belgium

Re: using proxy to update system

PostPosted by darknetmatrix » Fri Jun 09, 2017 8:12 pm

Also no experience with this, maybe someone else?
linux user # 527315
ArchLabs Betatester
I never lose. Either i win, or i learn.
User avatar
Posts: 165
Joined: Sat Feb 25, 2017 3:46 pm
Location: Belgium
Running Release: 5.x.x

Re: using proxy to update system

PostPosted by natemaia » Sat Jun 10, 2017 9:16 am

I do not have much experience in setting up proxy, that being said you have probably read this https://wiki.archlinux.org/index.php/proxy_settings
perhaps you do not have proxy setup for sudo, this could be an issue for installing, updating, etc.

Keep proxy through sudo

If the proxy environment variables are set for the user only (say, from manual commands or .bashrc) they will get lost when running commands with sudo (or when programs use sudo internally).

A way to prevent that is to add the following line to the sudo configuration file (accessible with visudo) :

Defaults env_keep += "http_proxy https_proxy ftp_proxy"

Hope this provides some help
User avatar
ArchLabs Guru
ArchLabs Guru
Posts: 75
Joined: Thu Mar 16, 2017 10:14 pm
Location: Canada - British Columbia
Running Release: 5.0

Re: using proxy to update system

PostPosted by fx101 » Sat Jun 10, 2017 9:51 am

according to
https://serverfault.com/questions/67057 ... -1-port-80
it might be a firewall problem , i admit i am not iptables expert , could it be a reason?
Posts: 2
Joined: Fri Jun 09, 2017 8:26 am

Return to Basic Help and Support

Who is online

Users browsing this forum: No registered users and 0 guests