1 |
On Sun, 9 Dec 2012 11:01:37 -0600, Bruce Hill wrote: |
2 |
|
3 |
> > > What is @preserved-rebuild ? |
4 |
> > |
5 |
> > It is a portage set, hence the @ prefix, containing packages that |
6 |
> > need to be rebuilt in order to link them against the installed |
7 |
> > versions of libraries. |
8 |
> > |
9 |
> > > workstation ~ # emerge -a @preserved-rebuild |
10 |
> > > emerge: 'preserved-rebuild' is an empty set |
11 |
> > > emerge: no targets left after set expansion |
12 |
> > |
13 |
> > So you have nothing that needs rebuilding. Portage will warn you when |
14 |
> > the set it non-empty, telling you to run emerge @preserved-rebuild. |
15 |
> > There is no need to run it at any other time. |
16 |
|
17 |
> This alias is run with coffee every morning on 8 Gentoo installs on |
18 |
> this LAN: alias ud='eix-sync && emerge -aDjNuv @world && dispatch-conf |
19 |
> && emerge -a --depclean && revdep-rebuild -i && clear && exit' |
20 |
> |
21 |
> So I'd venture to say there never will be such a set (must one create |
22 |
> it?). |
23 |
|
24 |
The set is created when needed, but the emerges triggered by |
25 |
revdep-rebuild will clear it. However, if you read the full thread, you |
26 |
will see the reasons why reserved-rebuild is the preferred usage. It |
27 |
avoids breakage and is much faster, and you can always run revdep-rebuild |
28 |
after to be absolutely sure. |
29 |
|
30 |
However, because portage keeps the old libraries around for |
31 |
preserved-rebuild, to avoid breakage, revdep-rebuild may fail to rebuild |
32 |
all necessary packages. |
33 |
|
34 |
|
35 |
-- |
36 |
Neil Bothwick |
37 |
|
38 |
Ask a silly person, get a silly answer |