Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] System maintenance procedure?
Date: Tue, 11 Dec 2012 14:06:23
Message-Id: 20121211140445.17ee6e58@digimed.co.uk
In Reply to: Re: [gentoo-user] System maintenance procedure? by Bruce Hill
1 On Tue, 11 Dec 2012 07:36:10 -0600, Bruce Hill wrote:
2
3 > > So you have nothing that needs rebuilding. Portage will warn you when
4 > > the set is non-empty, telling you to run emerge @preserved-rebuild.
5 > > There is no need to run it at any other time.
6 >
7 > After using Gentoo for close to two years, the only time/place I've
8 > ever even seen @preserved-rebuild is in this thread. Yet you say,
9 > "Portage will warn you when the set is non-empty, telling you to
10 > run emerge @preserved-rebuild."
11 >
12 > How will portage do this? An alias 'ud'
13
14 A message printed to the terminal at the end of the emerge run...
15
16 > alias ud='eix-sync && emerge -aDjNuv @world && dispatch-conf && emerge
17 > -a --depclean && revdep-rebuild -i && clear && exit'
18
19 which is hidden by the output from the subsequent commands.
20
21 > is run every morning with my first cup of coffee. If something were
22 > changed or left off that alias do you suppose this mysterious
23 > @preserved-rebuild would be run?
24
25 It is run when you choose to run it, it never happens automatically
26 (unless there is a flag I don't know about). You could drop "emerge -a
27 @preserved-rebuild" into the alias, between the emerge world and
28 dispatch-conf. There's no harm in running it when it is not needed.
29
30 % sudo emerge -a @preserved-rebuild
31 emerge: 'preserved-rebuild' is an empty set
32 emerge: no targets left after set expansion
33
34
35 --
36 Neil Bothwick
37
38 Why is bra singular and pants plural?

Attachments

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