Gentoo Archives: gentoo-dev

From: Tom Wijsman <TomWij@g.o>
To: yac@g.o
Cc: gentoo-dev@l.g.o
Subject: Re: Official way to do rolling update (Was: Re: [gentoo-dev] Releng breakage with respect to move from dev-python/python-exec to dev-lang/python-exec)
Date: Mon, 04 Nov 2013 11:08:50
Message-Id: 20131104120755.4455e4ee@TOMWIJ-GENTOO
In Reply to: Official way to do rolling update (Was: Re: [gentoo-dev] Releng breakage with respect to move from dev-python/python-exec to dev-lang/python-exec) by yac
1 On Mon, 4 Nov 2013 05:15:18 +0100
2 yac <yac@g.o> wrote:
3
4 > On Sun, 03 Nov 2013 11:02:31 +0200
5 > Alan McKinnon <alan.mckinnon@×××××.com> wrote:
6 >
7 > [snip]
8 > > >
9 > > > Afaik there is no official way to update gentoo, is there?
10 > >
11 > > It's always been "emerge -avuND world"
12 > [snip]
13 >
14 > Is this documented annywhere? I have a hard time finding it. I can see
15 > it mentioned eg. in man emerge in -c option but that's not good
16 > enough.
17
18 Yeah, we do...
19
20 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1#doc_chap3_sect5
21
22 So, we're not really trying to solve a problem here; yet we can improve
23 the situation so people don't have to manually retype the same chain of
24 commands everytime or rewrite their own shell alias or function.
25
26 > Even if it is documented, I think it would be very helpfull to have
27 > such a way implemented as "kind of option" to emerge like `emerge
28 > --standard-ugrade` that would just alias to -uaNDv or possibly
29 > leverage sets like `emerge @upgrade`
30
31 Yeah, I think everyone has implemented their own kind of alternative:
32
33 eupdate()
34 {
35 emerge -uDN @system @world
36 dispatch-conf
37 etc-update
38 emerge -uDN @system @world
39 emerge -c && (
40 eclean-dist -d
41 eclean-pkg -d
42 emerge @preserved-rebuild
43 )
44 }
45
46 Others have worked together and put it into a handy tool:
47
48 http://weaver.gentooexperimental.org/update.html
49
50 It would indeed be nice to join efforts and have something that does to
51 updating what genkernel does to kernels, then get that into the
52 Portage tree and suggest it as an alternative to doing it manually.
53
54 --
55 With kind regards,
56
57 Tom Wijsman (TomWij)
58 Gentoo Developer
59
60 E-mail address : TomWij@g.o
61 GPG Public Key : 6D34E57D
62 GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D

Attachments

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