Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] simple Q on portage utilities
Date: Wed, 20 Jan 2010 16:20:44
Message-Id: 20100120161923.7c57d723@digimed.co.uk
In Reply to: [gentoo-user] simple Q on portage utilities by Helmut Jarausch
1 On Wed, 20 Jan 2010 11:51:22 +0100 (CET), Helmut Jarausch wrote:
2
3 > Because of that I have to replace
4 > emerge @preserved-rebuild
5 >
6 > by something which just updates all packages
7 > depending on media-libs/jpeg .
8 > Here,
9 > equery -qC depends media-libs/jpeg
10 >
11 > or probably
12 >
13 > equery -qC depends --indirect media-libs/jpeg
14 >
15 > comes to my mind.
16 >
17 > But the output is not quite what I need.
18 > I'd like to use parallel emerge (option -j4)
19 > since there are a lots of packages to re-emerge.
20 > I'd need a long line containing several items, e.g.
21 > '=dev-python/pygraphviz-0.99.1'
22
23 equery is not reliable as it doesn't correctly account for USE flags.
24 Parsing the output from emerge --depclean -pv media-libs/jpeg is safer.
25
26
27 --
28 Neil Bothwick
29
30 There are only two tragedies in life: one is not getting what one wants;
31 and the other is getting it. - Oscar Wilde (1854-1900)

Attachments

File name MIME type
signature.asc application/pgp-signature