FS#3569 - Pacman proxy error
Attached to Project:
Pacman
Opened by Michal Witkowski (Neuro) - Saturday, 03 December 2005, 15:26 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 29 December 2006, 17:50 GMT
Opened by Michal Witkowski (Neuro) - Saturday, 03 December 2005, 15:26 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 29 December 2006, 17:50 GMT
|
Details
Hi,
My ISP uses a transparent proxy on all proxy ports (ex. 8080) and 80, so I can't get around it. Although ftp works without using a proxy (both active and passive), the proxy speeds up downloads from 40kB/s to about 130kB/s so I'm using it regularly to download from ftp. Now to the point. Whenever I specify a proxy server in pacman.conf, pacman is unable to retrive more than one package. Downloading listings work flawlessly. Specifying a wget (using the same proxy) as XferCommand works without problems. Example: : Retrieving packages from extra... gtk-xfce-engine-2.2.8-1 [----------------------------------------------------------------] 100% 25K 10.3K/s 00:00:02 failed downloading ftp://ftp.archlinux.org/extra/os/i686/libxfce4util-4.2.3.2-1.pkg.tar.gz from ftp.archlinux.org: (null) failed downloading ftp://ftp.archlinux.org/extra/os/i686/libxfce4mcs-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null) failed downloading ftp://ftp.archlinux.org/extra/os/i686/libxfcegui4-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null) failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfcalendar-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null) failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce-mcs-manager-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null) Everything is described in detail in http://bbs.archlinux.org/viewtopic.php?t=16864 I guess this is a pacman bug (everything works just fine without using proxy). If there is a way of acquiring some sort of a debug dump, give me a hint, I'll supply one. Cheers |
This task depends upon
Closed by Aaron Griffin (phrakture)
Thursday, 15 February 2007, 16:20 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libdownload
Thursday, 15 February 2007, 16:20 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libdownload
This is your best solution for now, and the one most proxy users take. Pacman's internal proxy support is pretty weak, and it's never been much of a priority for us since wget does such a good job. I'll leave this bug open so we can look at improving proxy support later. Currently, priorities are more towards finishing libpacman.
Thanks Michal.
I found something on some forum (sorry, don't remember the site) that maybe you need to try with passive connection.
So if pacman uses active connection for connecting site with proxy, then maybe we can try to use passive in the code. Maybe helps maybe not. Just a weak idea.
Regards
Christian Hamar alias krix
Hungary
-- Frugalware Developer Team
I'll give it a shot, as soon as my system is not up to date anymore (i updated today)...
I still need to get the CVS version here... hard to cvs behind a proxy, and as i've written in the pacman thread, my laptop is broken :(.
Why don't we have a "nightly" source pack or similar, i'd love this :).
Kind regards,
Georg
I removed the http_proxy and ftp_proxy from /etc/wgetrc, and tried it.
Errors, since i havn't set the environment variables - so that ensures that libdownload uses the variables.
After this, i exported http_proxy and ftp_proxy to my companys ftp and http proxy.
Updated 3 packages simply using pacman -Syu.
Worked properly
I changed to http mirrors, and tried again, with pacman -S xfce4.
Worked properly.
Kind regards,
Georg