From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GWfG7-0007vG-2V for garchives@archives.gentoo.org; Sun, 08 Oct 2006 20:28:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k98KRF4G031451; Sun, 8 Oct 2006 20:27:15 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k98KJL0Q028468 for ; Sun, 8 Oct 2006 20:19:21 GMT Received: by ug-out-1314.google.com with SMTP id p27so499936ugc for ; Sun, 08 Oct 2006 13:19:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=YkE5uoMvCnSGjLm+HAD9KVnmR0C09P4Gk0Tk73B1ZeG0bObj+Hwo4UZjF9N3MrBubUecb4sLoDlaCNsMhNQHwuHssACxmlxZPIA2jdUq0bryocvhu5vlG2C5EIDE64XW+h16T6ki4a/7sUdUWcc7MPpmVSt1GZXw5MHb9UmD0us= Received: by 10.67.24.13 with SMTP id b13mr5904161ugj; Sun, 08 Oct 2006 13:19:21 -0700 (PDT) Received: by 10.67.86.12 with HTTP; Sun, 8 Oct 2006 13:19:20 -0700 (PDT) Message-ID: <97c95c3d0610081319i33927d0bi39218f9ed25c66c5@mail.gmail.com> Date: Sun, 8 Oct 2006 22:19:21 +0200 From: "Boris Fersing" Sender: kernel.sensei@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Portage: Show list of required files without downloading anything? In-Reply-To: <20061008215900.1c976480@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Disposition: inline References: <1160336149.10407.13.camel@statux.kicks-ass.net> <20061008215900.1c976480@localhost> X-Google-Sender-Auth: cce106a729db841a X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k98KJL0Q028468 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k98KRF4U031451 X-Archives-Salt: 8fb2f490-c77b-482a-a0ea-8066c77567c7 X-Archives-Hash: 02f72440e4113f187946e187646f97c0 2006/10/8, Jan-Hendrik Zab : > On Sun, 08 Oct 2006 15:35:49 -0400 > Statux wrote: > > > Question: Is there a way that I can get Portage to run through the > > packages/ebuilds and, instead of downloading anything from the net, j= ust > > have it show me which files were not in /usr/portage/distfiles which > > will be needed? > > > > So if I had 8 packages which needed upgrading, which would result in = (an > > estimated) 6,382K of downloads, is there some way for me to have it g= o > > through each one of those all at once, similar to --fetchonly, and ha= ve > > it spit out a list of everything which it did not find on the local > > system? > > Dunno about any script, but first step would be: > > emerge -uD -fp world > > Then just filter it, e.g. in every line cut everything after the first > white space and throw the meat to wget. Hi, I would do something like this : - "emerge aria2" on your box (nice wget replacement which can download from more hosts/protocols at the same time). - run this command on your mother's box : for url in $(emerge -fpuvDN world|grep -v "These are the packages that would be fetched, in order:"|grep -v "Calculating") ; do echo ; echo aria2c $url ;done > packages.sh - copy the packages.sh on your box - run ". packages.sh" on your box. This will download all the required pakages in the current directory. regards, Boris. > > Jan-Hendrik Zab > > -- > | Jan-Hendrik Zab > | +49 (0)1773392888 > | http://www.v3ng34nce.org > > -- > gentoo-user@gentoo.org mailing list > > --=20 Quiconque me parle de Dieu en veut =E0 ma bourse ou =E0 ma libert=E9. --=20 gentoo-user@gentoo.org mailing list