You are not logged in.

#1 2003-08-19 09:41:50

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Pacman and Proxy

I found an old message without answer about that
http://bbs.archlinux.org/viewtopic.php?t=506
Can pacman (and makepkg) use proxy connection?
If yes, how can I configure pacman to use a proxy?

Offline

#2 2003-08-19 14:24:28

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: Pacman and Proxy

No, pacman currently does not support proxy connections.  However, makepkg simply calls an external ftp agent, so you should be able to use a proxy-enabled program here.  I believe wget supports proxy servers.

Offline

#3 2003-08-19 15:40:07

Jagged
Member
From: Blacksburg, VA
Registered: 2003-07-18
Posts: 153

Re: Pacman and Proxy

::edit:: help if i read everything others posts... evidently pacman does not coll wget from what apiero said.... in any event, if it did.. you could ::/edit::

theres a way to hack around it i believe

::if:: pacman uses wget (i think it does.... maybe):

1) setup a /etc/wgetrc file and enable wget through proxy (read man wget)
2) export the http_proxy environment variable


now it shousd get through a proxy


Nkawtg...n!

Offline

#4 2003-08-19 17:05:20

orelien
Forum Fellow
From: France
Registered: 2002-12-05
Posts: 220
Website

Re: Pacman and Proxy

Well, pacman uses a ftp library statically linked to the binary, so that there's no possible workaround...

proxies support, as well as http protocol support are on pacman wishlist.

Offline

#5 2006-03-01 18:14:04

stevenk
Member
Registered: 2006-01-23
Posts: 19

Re: Pacman and Proxy

what about now? does pacman support proxies now?

Offline

#6 2006-03-01 21:45:58

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: Pacman and Proxy

Well you can use the

XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

in pacman.conf, options section, this will give u wget usage, wget support Proxy AFAIK so this would be the solution for u...

Offline

#7 2006-03-01 23:19:15

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Pacman and Proxy

pacman has proxy support now. there's a proxyserver option. look in your pacman.conf

Offline

Board footer

Powered by FluxBB