Gentoo Archives: gentoo-user

From: Fernando Canizo <conan@××××××××××.ar>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Downloading packages from a txt file
Date: Wed, 24 Aug 2005 11:11:47
Message-Id: 20050824111406.GB4532@lugmen.org.ar
In Reply to: Re: [gentoo-user] Downloading packages from a txt file by Nick Rout
1 El 24/ago/2005 a las 02:36 -0300, Nick me decía:
2 > Seriously this time:
3 >
4 > How about changing your strategy to this:
5 >
6 > Get a list of the packages you want to update from the target machine.
7 > something like:
8 >
9 > emerge -uDp world|grep ebuild|awk '{print($4)}'>packlist
10 >
11 > take packlist to the connected machine and type:
12 >
13 > for package in `cat packlist` ; do DISTDIR=/where/ever/i/want emerge
14 > --nodeps -f =$package; done
15 >
16 > The files will then be in /where/ever/i/want and you can put them on a
17 > cd or whatever method you are using and take them away.
18 >
19 > --nodeps will make sure that your connected host doesn't substitute its
20 > own idea of what the deps are (perhaps based on different USE flags)
21
22 Could work, but i think he says he has debian in connected machine.
23
24 (hasn't?)
25
26 Anyway i would be great if 'emerge' has clean option like
27 '--print-uris' from apt-get so one could just use 'wget' or whatever
28 they find on connected machine. Other idea could be to have a script
29 that downloads the gentoo-way using what emerge print now, checking
30 mirrors, etc. Like a tiny version of emerge.
31
32 --
33 Fernando Canizo - http://www.lugmen.org.ar/~conan/
34 <ciaranm> antialiasing?
35 <ciaranm> the alcohol does that for you
36 --
37 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Downloading packages from a txt file Nick Rout <nick@×××××××.nz>