Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] simple Q on portage utilities
Date: Wed, 20 Jan 2010 10:51:48
Message-Id: tkrat.510ed2e797eab5dc@igpm.rwth-aachen.de
1 Hi,
2 again, I have to work around a broken Gentoo system.
3 (I cannot re-install kde-base/step)
4
5 Because of that I have to replace
6 emerge @preserved-rebuild
7
8 by something which just updates all packages
9 depending on media-libs/jpeg .
10 Here,
11 equery -qC depends media-libs/jpeg
12
13 or probably
14
15 equery -qC depends --indirect media-libs/jpeg
16
17 comes to my mind.
18
19 But the output is not quite what I need.
20 I'd like to use parallel emerge (option -j4)
21 since there are a lots of packages to re-emerge.
22 I'd need a long line containing several items, e.g.
23 '=dev-python/pygraphviz-0.99.1'
24
25 I could send the output of equery to a file,
26 edit it with an editor with good regexp support
27 and hand it over to the shell.
28
29 But I wonder, is there an easier way to use
30 portage utilities for that?
31
32 Many thanks for a hint,
33 Helmut.
34
35 --
36 Helmut Jarausch
37
38 Lehrstuhl fuer Numerische Mathematik
39 RWTH - Aachen University
40 D 52056 Aachen, Germany

Replies

Subject Author
Re: [gentoo-user] simple Q on portage utilities "Crístian Viana" <cristiandeives@×××××.com>
Re: [gentoo-user] simple Q on portage utilities Neil Bothwick <neil@××××××××××.uk>