From: "Boris Fersing" <kernelsensei@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Portage: Show list of required files without downloading anything?
Date: Sun, 8 Oct 2006 22:19:21 +0200 [thread overview]
Message-ID: <97c95c3d0610081319i33927d0bi39218f9ed25c66c5@mail.gmail.com> (raw)
In-Reply-To: <20061008215900.1c976480@localhost>
2006/10/8, Jan-Hendrik Zab <xaero@gmx.de>:
> On Sun, 08 Oct 2006 15:35:49 -0400
> Statux <statux@optonline.net> 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, just
> > 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 go
> > through each one of those all at once, similar to --fetchonly, and have
> > 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
>
>
--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-10-08 20:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-08 19:35 [gentoo-user] Portage: Show list of required files without downloading anything? Statux
2006-10-08 19:59 ` Jan-Hendrik Zab
2006-10-08 20:19 ` Boris Fersing [this message]
2006-10-08 20:08 ` Bo Ørsted Andresen
2006-10-09 9:12 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97c95c3d0610081319i33927d0bi39218f9ed25c66c5@mail.gmail.com \
--to=kernelsensei@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox