Gentoo Archives: gentoo-user

From: "holla.net@×××××.com" <holla.net@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] List installed packaged for 'system'
Date: Fri, 20 Apr 2007 01:44:50
Message-Id: 51e438da0704191836v65f9ecb5t4f03724b76ae7720@mail.gmail.com
In Reply to: Re: [gentoo-user] List installed packaged for 'system' by "Bo Ørsted Andresen"
1 On 4/19/07, Bo Ørsted Andresen <bo.andresen@××××.dk> wrote:
2 >
3 > On Thursday 19 April 2007 04:50:22 Bo Ørsted Andresen wrote:
4 > > # cd /var/db/pkg && \
5 > > emerge -peq system | sed -n 's|^\[ebuild[^]]*\] \([^ $]\+\).*$|\1|p' | \
6 > > sed -r 's/-[^-]+(-r[0-9]+)*$//' | while read pkg; do
7 > > for p in "${pkg}-"*; do
8 > > quickpkg "=$p";
9 > > done;
10 > > done
11 >
12 > Hah, I thought `quickpkg automake` would only make a binpkg for the
13 > highest
14 > version available. Turns out it handles all versions installed. So...
15 >
16 > # emerge -peq system | sed -n 's|^\[ebuild[^]]*\] \([^ $]\+\).*$|\1|p' | \
17 > sed -r 's/-[^-]+(-r[0-9]+)*$//' | sort -u | xargs quickpkg
18 >
19 > :)
20
21
22 Thanks, I was able to make the binary packages.
23 But my attempt to install 2006.1 on the low end machine was a disaster.
24 I will start a separate thread on that.
25
26
27 sathish
28
29
30 --
31 > Bo Andresen
32 >
33 >