1 |
according to puf's syntax, you should put the URI at the END of the command. |
2 |
|
3 |
|
4 |
On Sat, Dec 19, 2009 at 10:08 PM, Ronan Mainbourg |
5 |
<ronan.mainbourg@×××××.com> wrote: |
6 |
> Sorry, I should have given more details on why I am trying to do that: |
7 |
> |
8 |
> the Internet connection I use at work is handled by a router which do |
9 |
> automatic load-balancing between two different connections. |
10 |
> So when bandwidth usage of the first connection is saturated, all new |
11 |
> connections are routed to the second one. |
12 |
> Although bandwidth of those two connections (1024kb/s + 512 kb/s) are |
13 |
> limited and shared with other colleagues, in general I see some good dl |
14 |
> speed improvements using tools that can do parallel fetch, that's why I'm |
15 |
> trying to make portage act this way. |
16 |
> Paul: |
17 |
> I tried your modified FETCHCOMMAND, but without success :( |
18 |
> My configuration only allows me to run emerge as root (most of the time I |
19 |
> use sudo). |
20 |
> The only thing I get trying to emerge media-libs/libdvbpsi is this log |
21 |
> (maybe I can activate a more verbose one, but I don't know how?) : |
22 |
> |
23 |
>>>> Emerging (1 of 1) media-libs/libdvbpsi-0.1.6 |
24 |
>>>> Downloading |
25 |
>>>> 'http://mirror.ovh.net/gentoo-distfiles/distfiles/libdvbpsi5-0.1.6.tar.bz2' |
26 |
>>>> Downloading |
27 |
>>>> 'http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.6.tar.bz2' |
28 |
> !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. |
29 |
> * Fetch failed for 'media-libs/libdvbpsi-0.1.6', Log file: |
30 |
> * '/var/tmp/portage/media-libs/libdvbpsi-0.1.6/temp/build.log' |
31 |
> |
32 |
>>>> Failed to emerge media-libs/libdvbpsi-0.1.6, Log file: |
33 |
> |
34 |
>>>> '/var/tmp/portage/media-libs/libdvbpsi-0.1.6/temp/build.log' |
35 |
> |
36 |
> |
37 |
> And in the build.log: |
38 |
>>>> Downloading |
39 |
>>>> 'http://mirror.ovh.net/gentoo-distfiles/distfiles/libdvbpsi5-0.1.6.tar.bz2' |
40 |
>>>> Downloading |
41 |
>>>> 'http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.6.tar.bz2' |
42 |
> !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. |
43 |
> |
44 |
> |
45 |
> Download work great when I type directly: |
46 |
> |
47 |
> puf http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.6.tar.bz2' |
48 |
> |
49 |
> Any help please ? |
50 |
> 2009/12/19 Marcus Wanner <marcusw@×××.net> |
51 |
>> |
52 |
>> On 12/18/2009 1:38 PM, Nikos Chantziaras wrote: |
53 |
>>> |
54 |
>>> On 12/18/2009 05:40 PM, Ronan Mainbourg wrote: |
55 |
>>>> |
56 |
>>>> Because my Internet connection is not very fast, I'd like to make |
57 |
>>>> portage fetch files using net-misc/puf (wich can dl several chunks of a |
58 |
>>>> file at the same time) instead of wget. |
59 |
>>> |
60 |
>>> You got it backwards. Downloading more than one chunk at the same time |
61 |
>>> is only useful on *fast* connections, not *slow* ones. |
62 |
>> |
63 |
>> I hate to say it but he is correct...puf won't do you any good unless the |
64 |
>> speed at which to file is being downloaded is less than the maximum speed |
65 |
>> for your net connection :( |
66 |
>> |
67 |
>> Marcus |
68 |
>> |
69 |
> |
70 |
> |
71 |
> |
72 |
> -- |
73 |
> Ronan Mainbourg |
74 |
> ronan.mainbourg@×××××.com |
75 |
> |
76 |
> |
77 |
|
78 |
|
79 |
|
80 |
-- |
81 |
Best Regards, |
82 |
David Shen |
83 |
|
84 |
http://twitter.com/davidshen84/ |
85 |
http://meme.yahoo.com/davidshen84/ |