Gentoo Archives: gentoo-user

From: Bryan Green <bgreen@××××××××.gov>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: How to list sizes of installed packages?
Date: Tue, 05 Dec 2006 20:44:16
Message-Id: 200612052039.kB5KduiH007763@ece06.nas.nasa.gov
1 Bo =?iso-8859-1?q?=D8rsted_Andresen?= writes:
2 > --nextPart5713396.8Ph2VuCcD6
3 > Content-Type: text/plain;
4 > charset="iso-8859-1"
5 > Content-Transfer-Encoding: quoted-printable
6 > Content-Disposition: inline
7 >
8 > On Tuesday 05 December 2006 21:16, Grant Edwards wrote:
9 > > On 2006-12-05, Bo =D8rsted Andresen <bo.andresen@××××.dk> wrote:
10 > > > # equery list xorg | while read pkg; do equery size =3D"${pkg}"; done
11 >
12 > Bah.. The above was just for testing it before I sent it. For all packages =
13 > it=20
14 > should of course be:
15 >
16 > # equery list | while read pkg; do equery size =3D"${pkg}"; done
17 >
18 > > That's nasty. Why do some equery commands accept regexes and
19 > > others dont?
20 >
21 > Because equery isn't really being maintained. Lets just say it leaves a /lo=
22 > t/=20
23 > of room for improvement... Feel free to supply patches to improve it...
24 >
25 > =2D-=20
26 > Bo Andresen
27 >
28
29 Not maintained? I thought it was the tool of choice for what it does. I
30 thought it was intended to replace the 'q' utilities.
31
32 I actually just started having a problem with it the other day, using the
33 'list' command. It gets upset when I use the '-p' or '-o' option to list,
34 unless the user happens to be root:
35
36 bgreen@ece06 ~ $ equery list -i nvidia-drivers
37 [ Searching for package 'nvidia-drivers' in all categories among: ]
38 * installed packages
39 [I--] [ ~] x11-drivers/nvidia-drivers-1.0.9742 (0)
40
41 bgreen@ece06 ~ $ equery list -p nvidia-drivers
42 [ Searching for package 'nvidia-drivers' in all categories among: ]
43 !!! The query 'nvidia-drivers' does not appear to be a valid regular
44 expression
45
46 ece06 ~ # equery list -p gentoolkit
47 [ Searching for package 'gentoolkit' in all categories among: ]
48 * installed packages
49 [I--] [ ~] app-portage/gentoolkit-0.2.2 (0)
50 [I--] [ ] app-portage/gentoolkit-dev-0.2.5 (0)
51 * Portage tree (/usr/portage)
52 [-P-] [M~] app-portage/gentoolkit-0.2.3_pre1 (0)
53 [-P-] [M~] app-portage/gentoolkit-0.2.3_pre2 (0)
54 [-P-] [M~] app-portage/gentoolkit-dev-0.2.6.1 (0)
55
56 --
57 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: How to list sizes of installed packages? Neil Bothwick <neil@××××××××××.uk>