Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
On Thu, Dec 24, 2009 at 8:18 AM, Nguyen Bao Ngoc wrote: > Hi, why don't you try aria2? I replaced wget with it and it works well. > Here is my fetch command in case you want to try. > FETCHCOMMAND="/usr/bin/aria2c -d \"\${DISTDIR}\" -o \"\${FILE}\" > \"\${URI}\"" > RESUMECOMMAND="/usr/bin/aria2c -c -d \"\${DISTDIR}\" -o \"\${FILE}\" > \"\${URI}\"" > > looks like this tools is even better ;) will give a try. -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
Thanks! It works well on my box and since I did not succeed in using puf with emerge, it perfectly fits my needs. 2009/12/24 Nguyen Bao Ngoc > Hi, why don't you try aria2? I replaced wget with it and it works well. > Here is my fetch command in case you want to try. > FETCHCOMMAND="/usr/bin/aria2c -d \"\${DISTDIR}\" -o \"\${FILE}\" > \"\${URI}\"" > RESUMECOMMAND="/usr/bin/aria2c -c -d \"\${DISTDIR}\" -o \"\${FILE}\" > \"\${URI}\"" > > -- Ronan Mainbourg ronan.mainbo...@gmail.com
Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
Hi, why don't you try aria2? I replaced wget with it and it works well. Here is my fetch command in case you want to try. FETCHCOMMAND="/usr/bin/aria2c -d \"\${DISTDIR}\" -o \"\${FILE}\" \"\${URI}\"" RESUMECOMMAND="/usr/bin/aria2c -c -d \"\${DISTDIR}\" -o \"\${FILE}\" \"\${URI}\""
Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
On Fri, Dec 18, 2009 at 9:40 AM, Ronan Mainbourg wrote: > Because my Internet connection is not very fast, I'd like to make portage > fetch files using net-misc/puf (wich can dl several chunks of a file at the > same time) instead of wget. > I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but > it doesn't work: > > FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}" > > ... Give me when I try emerging a package (here"media-libs/libdvbpsi" for > instance): > !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. > > > Any Ideas ? I think the syntax should be: FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR} -O \${FILE}" That works for me if I run emerge as normal user. If I run as root, it crashes... weird.
Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
On 12/18/2009 10:40 AM, Ronan Mainbourg wrote: Because my Internet connection is not very fast, I'd like to make portage fetch files using net-misc/puf (wich can dl several chunks of a file at the same time) instead of wget. I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but it doesn't work: FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}" ... Give me when I try emerging a package (here"media-libs/libdvbpsi" for instance): !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. Any Ideas ? Does it actually download the file but put it in the wrong place? Can you attach a complete log? Marcus
Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
On Fri, Dec 18, 2009 at 9:40 AM, Ronan Mainbourg wrote: > Because my Internet connection is not very fast, I'd like to make portage > fetch files using net-misc/puf (wich can dl several chunks of a file at the > same time) instead of wget. > I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but > it doesn't work: puf crashes every time for me with this, maybe you have the same problem? *** glibc detected *** puf: double free or corruption (top): 0x0169d730 *** === Backtrace: = /lib/libc.so.6(+0x72406)[0x7f0a980bd406] /lib/libc.so.6(cfree+0x6c)[0x7f0a980c21ac] puf[0x40ec8b] puf[0x40204b] /lib/libc.so.6(__libc_start_main+0xfd)[0x7f0a98069bbd] puf[0x401da9] === Memory map: 0040-00415000 r-xp 08:05 5292661 /usr/bin/puf 00614000-00615000 r--p 00014000 08:05 5292661 /usr/bin/puf 00615000-00616000 rw-p 00015000 08:05 5292661 /usr/bin/puf 0169d000-016be000 rw-p 00:00 0 [heap] 7f0a93de9000-7f0a93dff000 r-xp 08:05 5145230 /lib64/libgcc_s.so.1 7f0a93dff000-7f0a93ffe000 ---p 00016000 08:05 5145230 /lib64/libgcc_s.so.1 7f0a93ffe000-7f0a93fff000 r--p 00015000 08:05 5145230 /lib64/libgcc_s.so.1 7f0a93fff000-7f0a9400 rw-p 00016000 08:05 5145230 /lib64/libgcc_s.so.1 7f0a9400-7f0a94021000 rw-p 00:00 0 7f0a94021000-7f0a9800 ---p 00:00 0 7f0a9804b000-7f0a9819b000 r-xp 08:05 4260926 /lib64/libc-2.11.so 7f0a9819b000-7f0a9839a000 ---p 0015 08:05 4260926 /lib64/libc-2.11.so 7f0a9839a000-7f0a9839e000 r--p 0014f000 08:05 4260926 /lib64/libc-2.11.so 7f0a9839e000-7f0a9839f000 rw-p 00153000 08:05 4260926 /lib64/libc-2.11.so 7f0a9839f000-7f0a983a4000 rw-p 00:00 0 7f0a983a4000-7f0a983c2000 r-xp 08:05 4260927 /lib64/ld-2.11.so 7f0a98585000-7f0a98588000 rw-p 00:00 0 7f0a985bf000-7f0a985c1000 rw-p 00:00 0 7f0a985c1000-7f0a985c2000 r--p 0001d000 08:05 4260927 /lib64/ld-2.11.so 7f0a985c2000-7f0a985c3000 rw-p 0001e000 08:05 4260927 /lib64/ld-2.11.so 7f0a985c3000-7f0a985c4000 rw-p 00:00 0 75929000-75941000 rw-p 00:00 0 [stack] 759ff000-75a0 r-xp 00:00 0 [vdso] ff60-ff601000 r-xp 00:00 0 [vsyscall]
[gentoo-user] Trying to make portage use "puf" instead of "wget"
Because my Internet connection is not very fast, I'd like to make portage fetch files using net-misc/puf (wich can dl several chunks of a file at the same time) instead of wget. I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but it doesn't work: FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}" ... Give me when I try emerging a package (here"media-libs/libdvbpsi" for instance): !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. Any Ideas ? -- Ronan Mainbourg Sent from Tananarive, Madagascar