Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#23353 - Privoxy with keep-alive-timeout plus Polipo breaks builtin downloader
Attached to Project:
Pacman
Opened by Taylan Ulrich B. (taylanub) - Saturday, 19 March 2011, 18:25 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 21 February 2012, 20:37 GMT
Opened by Taylan Ulrich B. (taylanub) - Saturday, 19 March 2011, 18:25 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 21 February 2012, 20:37 GMT
|
DetailsI have both privoxy and polipo running. Setting privoxy to use keep-alive-timeout and to forward to polipo, then using it as the http_proxy (i.e. pacman->privoxy->polipo->server), the pacman downloader fails somewhat randomly:
In the case of a package file, it always seems to fail the first time and succeed with subsequent trials; when doing a -Syy it seems like the first repo always fails, and the rest is somewhat random. (Polipo's caching must be related.) Disabling privoxy's keep-alive-timeout, everything works. With other proxying combinations (only polipo; only privoxy; polipo->privoxy and not the other way around), everything works. When using wget or curl (via XferCommand), everything works. (Which is why i report this as a pacman bug; one could suspect privoxy/polipo.) Transcripts: <start> Targets (1): vi-050325-4 [0.12 MB] Total Download Size: 0.12 MB Proceed with download? [Y/n] :: Retrieving packages from core... error: failed retrieving file 'vi-050325-4-i686.pkg.tar.xz' from repo.parabolagnulinux.org : Broken pipe error: failed retrieving file 'vi-050325-4-i686.pkg.tar.xz' from ftp.inf.utfsm.cl : Bad Request warning: failed to retrieve some files from core error: failed to commit transaction (Bad Request) Errors occurred, no packages were upgraded. <end> (A subsequent download trial of vi will now succeed normally.) <start> :: Synchronizing package databases... error: failed retrieving file 'testing.db' from repo.parabolagnulinux.org : Broken pipe error: failed retrieving file 'testing.db' from ftp.inf.utfsm.cl : Bad Request error: failed to update testing (Bad Request) error: failed retrieving file 'core.db' from repo.parabolagnulinux.org : Broken pipe error: failed retrieving file 'core.db' from ftp.inf.utfsm.cl : Bad Request error: failed to update core (Bad Request) ... (all the same) <end> Second trial: <start> :: Synchronizing package databases... error: failed retrieving file 'testing.db' from repo.parabolagnulinux.org : Broken pipe error: failed retrieving file 'testing.db' from ftp.inf.utfsm.cl : Bad Request error: failed to update testing (Bad Request) core 51.5K 3.3M/s 00:00:00 [###########################################] 100% extra 675.2K 21.2M/s 00:00:00 [###########################################] 100% error: failed retrieving file 'community-testing.db' from repo.parabolagnulinux.org : Broken pipe error: failed retrieving file 'community-testing.db' from ftp.inf.utfsm.cl : Bad Request error: failed to update community-testing (Bad Request) community 604.5K 21.7M/s 00:00:00 [###########################################] 100% <end> (The first always fails, the others are random...) Race conditions are probably involved. Note that FTP also fails. |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 21 February 2012, 20:37 GMT
Reason for closing: No response
Tuesday, 21 February 2012, 20:37 GMT
Reason for closing: No response
(And i should've used --noprogress for those pacman transcripts...)
I use cntlm and let http_proxy to use it
this start to happen when i upgrade from pacman 3.4.3 to 3.5.1
When letting http_proxy doesn't use cntlm. the error message,"Broken pipe", will not appear.
# pacman -Syy
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from archlinux.limun.org : Broken pipe
error: failed retrieving file 'core.db' from mirror.c9h.de : Broken pipe
error: failed retrieving file 'core.db' from ftp5.gwdg.de : Broken pipe
error: failed retrieving file 'core.db' from ftp.halifax.rwth-aachen.de : Broken pipe
error: failed retrieving file 'core.db' from ftp.hosteurope.de : Broken pipe
error: failed retrieving file 'core.db' from ftp-stud.hs-esslingen.de : Broken pipe
error: failed retrieving file 'core.db' from mirror.selfnet.de : Broken pipe
error: failed retrieving file 'core.db' from ftp.spline.inf.fu-berlin.de : Broken pipe
error: failed retrieving file 'core.db' from ftp.tu-chemnitz.de : Broken pipe
error: failed retrieving file 'core.db' from ftp.uni-kl.de : Broken pipe
error: failed retrieving file 'core.db' from archlinux.supsec.org : Broken pipe
error: failed retrieving file 'core.db' from cake.lib.fit.edu : Connection timed out
error: failed retrieving file 'core.db' from mirrors.cat.pdx.edu : Service Unavailable
error: failed retrieving file 'core.db' from mirror.ece.vt.edu : Broken pipe
error: failed retrieving file 'core.db' from www.gtlib.gatech.edu : Broken pipe
error: failed retrieving file 'core.db' from mirrors.hosef.org : Broken pipe
error: failed retrieving file 'core.db' from hpc.arc.georgetown.edu : Broken pipe
error: failed retrieving file 'core.db' from distro.ibiblio.org : Broken pipe
error: failed retrieving file 'core.db' from lug.mtu.edu : Broken pipe
error: failed retrieving file 'core.db' from mirrors.xmission.com : Broken pipe
error: failed retrieving file 'core.db' from mirror.mocker.org : Broken pipe
error: failed retrieving file 'core.db' from ftp.osuosl.org : Broken pipe
error: failed retrieving file 'core.db' from mirror.rit.edu : Broken pipe
error: failed retrieving file 'core.db' from mirrors.rutgers.edu : Broken pipe
error: failed retrieving file 'core.db' from mirror.yellowfiber.net : Broken pipe
error: failed to update core (Broken pipe)
error: failed retrieving file 'extra.db' from archlinux.limun.org : Broken pipe
error: failed retrieving file 'extra.db' from mirror.c9h.de : Broken pipe
error: failed retrieving file 'extra.db' from ftp5.gwdg.de : Broken pipe
error: failed retrieving file 'extra.db' from ftp.halifax.rwth-aachen.de : Broken pipe
error: failed retrieving file 'extra.db' from ftp.hosteurope.de : Broken pipe
error: failed retrieving file 'extra.db' from ftp-stud.hs-esslingen.de : Broken pipe
error: failed retrieving file 'extra.db' from mirror.selfnet.de : Connection timed out
error: failed retrieving file 'extra.db' from ftp.spline.inf.fu-berlin.de : Broken pipe
error: failed retrieving file 'extra.db' from ftp.tu-chemnitz.de : Broken pipe
error: failed retrieving file 'extra.db' from ftp.uni-kl.de : Broken pipe
error: failed retrieving file 'extra.db' from archlinux.supsec.org : Broken pipe
error: failed retrieving file 'extra.db' from cake.lib.fit.edu : Connection timed out
error: failed retrieving file 'extra.db' from mirrors.cat.pdx.edu : Service Unavailable
error: failed retrieving file 'extra.db' from mirror.ece.vt.edu : Broken pipe
error: failed retrieving file 'extra.db' from www.gtlib.gatech.edu : Connection timed out
error: failed retrieving file 'extra.db' from mirrors.hosef.org : Connection timed out
error: failed retrieving file 'extra.db' from hpc.arc.georgetown.edu : Broken pipe
error: failed retrieving file 'extra.db' from distro.ibiblio.org : Broken pipe
extra 468.6K 107.4K/s 00:00:04 [####################################################################] 100%
community 426.0K 55.7K/s 00:00:08 [####################################################################] 100%
multilib 24.3K 16.4K/s 00:00:01 [####################################################################] 100%
http://mailman.archlinux.org/pipermail/pacman-dev/2011-September/014415.html