You are not logged in.

#1 2005-12-03 09:58:05

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Pacman proxy bug?

Hi,

Well, my ISP is kind of funny you know. FTP traffic is quite slow about 40kB/s, unless you put it through a HTTP proxy. Apart from that, my ISP has a transparent proxy on port 80 (you can't walk around it unfortunately). Additionally it filters everything on the common proxy ports like 8080. So, it doesn't metter what proxy you specify, everything goes throu theirs.

Since most of the downloads in pacman are done from ftp, I decided to proxy the traffic. I've put

ProxyServer = w3cache.fordon.intelink.pl:8080

Note: this is the real address of my ISPs transparent proxy.

Updating pacage listings works just fine:

[root@wintermute:~/] pacman -Syu
:: Synchronizing package databases...
 testing                  [----------------------------------------------------------------] 100%       5K   355.5K/s  00:00:00
 current                  [----------------------------------------------------------------] 100%      47K   158.8K/s  00:00:00
 extra                    [----------------------------------------------------------------] 100%     222K    48.5K/s  00:00:04
 unstable                 [----------------------------------------------------------------] 100%       3K   233.1K/s  00:00:00

But when I try to download packages, only the first one gets downloaded, the rest return errors.

pacman -Sw xfce4
:: group xfce4:
    gtk-xfce-engine libxfce4mcs libxfce4util libxfcegui4 xfcalendar xfce-mcs-manager xfce-mcs-plugins xfce-utils
    xfce4-appfinder xfce4-icon-theme xfce4-iconbox xfce4-mixer xfce4-panel xfce4-session xfce4-systray xfce4-toys
    xfce4-trigger-launcher xfdesktop xffm xfprint xfwm4 xfwm4-themes
    Install whole content? [Y/n] y

Targets: gtk-xfce-engine-2.2.8-1 libxfce4util-4.2.3.2-1 libxfce4mcs-4.2.3-1 libxfcegui4-4.2.3-1 xfcalendar-4.2.3-1
         xfce-mcs-manager-4.2.3-1 xfce-mcs-plugins-4.2.3-1 xfce-utils-4.2.3-1 xfce4-appfinder-4.2.3-1 xfce4-icon-theme-4.2.3-1
         xfce4-iconbox-4.2.3-1 xfce4-panel-4.2.3-1 xfce4-mixer-4.2.3-1 xfce4-session-4.2.3-1 xfce4-systray-4.2.3-1
         xfce4-toys-4.2.3-1 xfce4-trigger-launcher-4.2.3-1 xfdesktop-4.2.3-1 xffm-4.2.3-1 xfprint-4.2.3-1 xfwm4-4.2.3.2-1
         xfwm4-themes-4.2.3-1

Total Package Size:   14.6 MB

Proceed with download? [Y/n] y

:: 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)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce-mcs-plugins-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce-utils-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce4-appfinder-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce4-icon-theme-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce4-iconbox-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce4-panel-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce4-mixer-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce4-session-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce4-systray-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce4-toys-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfce4-trigger-launcher-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfdesktop-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xffm-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfprint-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfwm4-4.2.3.2-1.pkg.tar.gz from ftp.archlinux.org: (null)
failed downloading ftp://ftp.archlinux.org/extra/os/i686/xfwm4-themes-4.2.3-1.pkg.tar.gz from ftp.archlinux.org: (null)

This happens regardles of what I put in pacman.conf. I tried with the public w3cache proxy of one of our Universities:

ProxyServer = w3cache.icm.edu.pl:8080

Same results. I didn't expect anything to change, since my ISP's transparent proxy would pick this connection instead (my queries never really get to w3cache.icm.edu.pl since they are answered by w3cache.fordon.intelink.pl instead).

I can download using pacman's built-in downloader without problems when no ProxyServer is set. But then, the transfers are really slow sad

Finally, I got it working using

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

With this, it works great. No problems with the same proxies or anything. But the output sucks and is really hard to read.

However, I can live with wget, I'd rather pacman not to have bugs, so I thought I'd let you know.

Offline

Board footer

Powered by FluxBB