You are not logged in.

#1 2018-09-24 09:31:04

oljik
Member
Registered: 2015-12-23
Posts: 5

pacman, makepkg behind proxy

I am having nightmares behind http proxy.
I have setup pacman with XferCommand curl and added envvars http_proxy https_proxy ftp_proxy and no_proxy to /etc/profile. Pacman is now working fine.
However makepkg doesn't want to work with whatever config I tried
with /root/.curlrc:
proxy="http://user:pass@proxy:port"

with -x http://user:pass@proxy:port

Last edited by oljik (2018-09-24 12:18:28)

Offline

#2 2018-09-24 14:08:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: pacman, makepkg behind proxy

What do you mean by "makepkg doesn't want to work"?  Post the command and error messages.

Makepkg uses pacman for installing dependencies, so if pacman works, makepkg could work that far.

Makepkg also downloads source code for packages that you want to build - but this is done through a wide range of protocols which could be listed in the source array.  Are there certainly protocols that are failing?  Which ones?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2018-09-25 04:17:01

oljik
Member
Registered: 2015-12-23
Posts: 5

Re: pacman, makepkg behind proxy

Sorry, forgot to write downloading source files through ftp are failing so far. I'll post messages later

Offline

#4 2018-09-25 10:06:25

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: pacman, makepkg behind proxy

makepkg uses DLAGENTS (customized commands)  to download sourcefiles .
Check /etc/makepkg.conf to find the exact command used for downloading files over ftp.

Last edited by Lone_Wolf (2018-09-25 10:07:22)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB