You are not logged in.

#1 2016-09-19 01:50:54

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Polipo byte ranges prevent continuing to download rest of repo-ck

I've noticed that Polipo will store the truncated copy of a package incompletely downloaded from like the unofficial repository like repo-ck.
If I remove the package from the pacman cache, polipo will send the incomplete package back.  If I rename the pkg file to have the part extension, polipo comes back with http server doesn't support byte ranges.  So if I blank out http_proxy it'll continue to download the remaining part of the pkg file that repo-ck cuts off most of the time. 
Another thing that annoys me about polipo is 502 errors on certain websites saying that the website cut the connection.  It is polipo doing that.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2 2016-11-02 14:56:57

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Polipo byte ranges prevent continuing to download rest of repo-ck

I've written a script to enable proxy for downloading the databases, but disable the proxy for packages, (especially since I'm using a shared pacman cache).

http_proxy=http://path_to_proxy:proxy_port pacman -Sy
http_proxy= ; pacman -Su

I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB