From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NMD1v-0002gT-65 for garchives@archives.gentoo.org; Sun, 20 Dec 2009 04:04:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 573A1E08DB for ; Sun, 20 Dec 2009 04:04:26 +0000 (UTC) Received: from mail-iw0-f201.google.com (mail-iw0-f201.google.com [209.85.223.201]) by pigeon.gentoo.org (Postfix) with ESMTP id 5C3DDE0509 for ; Sun, 20 Dec 2009 03:40:40 +0000 (UTC) Received: by iwn39 with SMTP id 39so2764455iwn.32 for ; Sat, 19 Dec 2009 19:40:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=JJOhN1oG6hej7aOauERrXSb2pQAyTBXHEjQOTqMZU8Y=; b=tJfx1le2diJMcqRf6L0KXKSgnWjtwkXvcqBz6giXH5icS3GtMdEsbD28B0N8/f3r+L kLLEG09zGUzoNamC7ORDl0Ex4lqWsvaDWc6H304VoZSj2mxhsZysvJvQwWMUyJKWpNNw RNHDOl/i1IU6ZUee5HVLGvThyTq+2vy27ev00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ubhpCJo2ViY+H0KY2TijTQJZr207r9w9E25Is00MzS+HOE7bMkdtmgeumU7jYADbgE udoxqZTRNUZjzJvspmFHiF2cVIfjj+220Su5PveK09ZyLKQpxVml1s7lH43ubIRs8zBv EWsE7kZZ6te8ohcD8t0kuJ8i7HK5XePEwR2xM= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.231.123.41 with SMTP id n41mr564058ibr.46.1261280440021; Sat, 19 Dec 2009 19:40:40 -0800 (PST) In-Reply-To: <7985d0a50912190608i282a0fe4u1764b53a77a37698@mail.gmail.com> References: <7985d0a50912180740x65abbf69m9fa4160703402baa@mail.gmail.com> <4B2BF58E.10701@cox.net> <7985d0a50912190608i282a0fe4u1764b53a77a37698@mail.gmail.com> Date: Sun, 20 Dec 2009 11:40:39 +0800 Message-ID: <53e35fd50912191940s64b4e2b0med302f7b51775f49@mail.gmail.com> Subject: Re: [gentoo-user] Re: Trying to make portage use "puf" instead of "wget" From: Xi Shen To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9a49adb2-6037-49b8-ba08-903e86e9344b X-Archives-Hash: 029702ea83f3a208ee4f1ca5c8d3b491 according to puf's syntax, you should put the URI at the END of the command= . On Sat, Dec 19, 2009 at 10:08 PM, Ronan Mainbourg wrote: > Sorry, I should have given more details on why I am trying to do that: > > the Internet connection I use at work is handled by a router which do > automatic load-balancing between two different connections. > So when bandwidth usage of the first connection is saturated, all new > connections are routed to the second one. > Although bandwidth of those two connections (1024kb/s + 512 kb/s) are > limited and shared with other colleagues, in general I see some good dl > speed improvements using tools that can do parallel fetch, that's why I'm > trying to make portage act this way. > Paul: > I tried your modified FETCHCOMMAND, but without success :( > My configuration only allows me to run emerge as root (most of the time I > use sudo). > The only thing I get trying to emerge media-libs/libdvbpsi is this log > (maybe I can activate a more verbose one, but I don't know how?) : > >>>> Emerging (1 of 1) media-libs/libdvbpsi-0.1.6 >>>> Downloading >>>> 'http://mirror.ovh.net/gentoo-distfiles/distfiles/libdvbpsi5-0.1.6.tar= .bz2' >>>> Downloading >>>> 'http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.6.tar= .bz2' > !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. > * Fetch failed for 'media-libs/libdvbpsi-0.1.6', Log file: > * '/var/tmp/portage/media-libs/libdvbpsi-0.1.6/temp/build.log' > >>>> Failed to emerge media-libs/libdvbpsi-0.1.6, Log file: > >>>> '/var/tmp/portage/media-libs/libdvbpsi-0.1.6/temp/build.log' > > > And in the build.log: >>>> Downloading >>>> 'http://mirror.ovh.net/gentoo-distfiles/distfiles/libdvbpsi5-0.1.6.tar= .bz2' >>>> Downloading >>>> 'http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.6.tar= .bz2' > !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. > > > Download work great when I type directly: > > puf=C2=A0http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.= 6.tar.bz2' > > Any help please ? > 2009/12/19 Marcus Wanner >> >> On 12/18/2009 1:38 PM, Nikos Chantziaras wrote: >>> >>> On 12/18/2009 05:40 PM, 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. >>> >>> You got it backwards. =C2=A0Downloading more than one chunk at the same= time >>> is only useful on *fast* connections, not *slow* ones. >> >> I hate to say it but he is correct...puf won't do you any good unless th= e >> speed at which to file is being downloaded is less than the maximum spee= d >> for your net connection :( >> >> Marcus >> > > > > -- > Ronan Mainbourg > ronan.mainbourg@gmail.com > > --=20 Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/