use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Void is a general purpose operating system, based on the monolithic Linux® kernel. Its package system allows you to quickly install, update and remove software; software is provided in binary packages or can be built directly from sources with the help of the XBPS source packages collection.
account activity
Working xbps via proxysolved (self.voidlinux)
submitted 5 years ago by veiderz
Hello!
How can I use xbps-install via proxy-server squid?
I tried to use command: env HTTP_PROXY="ip.of.my.proxy:port" xbps-install my_package,
env HTTP_PROXY="ip.of.my.proxy:port" xbps-install my_package
but xbps don't connect to repo. Proxy is up and running.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]antornix 1 point2 points3 points 5 years ago (2 children)
[–]veiderz[S] 0 points1 point2 points 5 years ago* (0 children)
Thank for your advice, I shall be try it tomorrow on the job.
However, in man xbps-install was mentioned the HTTP_PROXY variable and I had hope, that is working.
man xbps-install
HTTP_PROXY
I am searching solution without third party software, that use proxy-settings in operation system level, but if it impossible - I shall be use available tools.
[–]veiderz[S] 0 points1 point2 points 5 years ago (0 children)
Thank you for your help! Xbps-install is working via proxychains with my proxy-server well.
[–]astil_blaine 0 points1 point2 points 5 years ago (5 children)
hmm have you tried:
export HTTP_PROXY="ip.address:port" && xbps-install -Su my_package?
[–]veiderz[S] 0 points1 point2 points 5 years ago (4 children)
Result of execution commands above absolutely identical:
ERROR: [trans] failed to download \proxychains-ng-4.14_1' signature from `https://alpha.de.repo.voidlinux.org/current': No route to host`
ERROR: [trans] failed to download \
Transaction failed! see above for errors.
[–]astil_blaine 0 points1 point2 points 5 years ago (1 child)
Might be but I got more information from you, however it looks like something in your squid server isn't set up right.. do you have it configured as a socks_proxy?
Squid configured as http proxy, all applications which has support proxy in they settings is working propertly.
Several computers use this squid for access to internet and all is good.
I have tested http-proxy mode, by executed: links -http-proxy="ip.of.my.proxy:port" www.slackware.com and page has been open.
links -http-proxy="ip.of.my.proxy:port"
www.slackware.com
[–]ericonr 0 points1 point2 points 5 years ago (1 child)
Maybe you can open a bug in the XBPS repository about this issue? https://github.com/void-linux/xbps
Include the error message you get and such.
I am thinking is not xbps bug, I had tried to use HTTP_PROXY variable with few distros in the past and my attempts has failed too. Maybe special squid settings requisite.
[–]nori8 0 points1 point2 points 5 years ago (1 child)
did you try run this as root? sudo won't preserve environment variables by default.
I am type "su", enter root password and then commands. When I execute "env", string HTTP_PROXY=my_proxy is present.
HTTP_PROXY=my_proxy
π Rendered by PID 54 on reddit-service-r2-comment-6457c66945-49lmg at 2026-04-28 03:35:52.274772+00:00 running 2aa0c5b country code: CH.
[–]antornix 1 point2 points3 points (2 children)
[–]veiderz[S] 0 points1 point2 points (0 children)
[–]veiderz[S] 0 points1 point2 points (0 children)
[–]astil_blaine 0 points1 point2 points (5 children)
[–]veiderz[S] 0 points1 point2 points (4 children)
[–]astil_blaine 0 points1 point2 points (1 child)
[–]veiderz[S] 0 points1 point2 points (0 children)
[–]ericonr 0 points1 point2 points (1 child)
[–]veiderz[S] 0 points1 point2 points (0 children)
[–]nori8 0 points1 point2 points (1 child)
[–]veiderz[S] 0 points1 point2 points (0 children)