You are not logged in.

#1 2007-02-01 18:58:24

gunshot
Member
From: Bulgaria
Registered: 2006-09-01
Posts: 35

pacman proxy issue

I have setup pacman to download via proxy (read the wiki):

export http_proxy="http://192.168.0.69:8081"
export ftp_proxy="http://192.168.0.69:8082"

/etc/pacman.conf:
....
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
....


When I try to download, for exmaple, mysql I constantly get such errors:

--20:47:46--  ftp://mi.mirror.garr.it/mirrors/archlin … pkg.tar.gz
           => `mysql-5.0.27-2.pkg.tar.gz.part'
Connecting to 192.168.0.69:8082... --20:47:46--  ftp://ftp.surfnet.nl/pub/os/Linux/distr … pkg.tar.gz
           => `mysql-5.0.27-2.pkg.tar.gz.part'
Connecting to 192.168.0.69:8082... connected.
Proxy request sent, awaiting response... 200 No headers, assuming HTTP/0.9
Length: unspecified

100%[====================================>] 135           --.--K/s

20:47:46 (1.25 MB/s) - Read error at byte 135 (Connection reset by peer).Retrying.



How to solve this? Thank you.

edit: wget itself works for http, but for some reason fails with ftp! pacman also works with http sites.
i use CCProxy on a windows machine.

Last edited by gunshot (2007-02-01 20:28:45)

Offline

#2 2016-10-17 00:41:05

geefolk
Member
Registered: 2016-10-13
Posts: 3

Re: pacman proxy issue

Please use 'su' command to switch to root, and export https_proxy, http_proxy, ftp_proxy accordingly, and then execute pacman.

Offline

#3 2016-10-17 00:44:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: pacman proxy issue

geefolk wrote:

Please use 'su' command to switch to root, and export https_proxy, http_proxy, ftp_proxy accordingly, and then execute pacman.

You expect that the OP is still looking for answer nearly 10 years later? Seems unlikely, not to mention necrobumping is against the rules.

Offline

#4 2016-10-17 00:46:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: pacman proxy issue

I shall use this opportunity to close this really old thread now.
https://wiki.archlinux.org/index.php/Co … bumping.22


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB