1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On 11/03/2013 10:15 PM, yac wrote: |
5 |
> On Sun, 03 Nov 2013 11:02:31 +0200 Alan McKinnon |
6 |
> <alan.mckinnon@×××××.com> wrote: |
7 |
> |
8 |
> [snip] |
9 |
>>> |
10 |
>>> Afaik there is no official way to update gentoo, is there? |
11 |
>> |
12 |
>> It's always been "emerge -avuND world" |
13 |
> [snip] |
14 |
> |
15 |
> Is this documented annywhere? I have a hard time finding it. I can |
16 |
> see it mentioned eg. in man emerge in -c option but that's not good |
17 |
> enough. |
18 |
> |
19 |
> Even if it is documented, I think it would be very helpfull to |
20 |
> have such a way implemented as "kind of option" to emerge like |
21 |
> `emerge --standard-ugrade` that would just alias to -uaNDv or |
22 |
> possibly leverage sets like `emerge @upgrade` |
23 |
> |
24 |
|
25 |
You could emulate this yourself by setting up an environment variable |
26 |
to pass to emerge, or use an alias like I do: |
27 |
|
28 |
alias sysupdate='emerge -avuDN --with-bdeps=y @world' |
29 |
|
30 |
(Note: I should probably extend this to accept $1 args, in case I want |
31 |
to add `-t` or something) |
32 |
|
33 |
If you wanted something to cover more bases, you could make a script |
34 |
to do the above in addition to revdep-rebuild, python-updater, |
35 |
etc-update, and so on. Given the power and flexibility of |
36 |
portage/emerge and the extremely broad variety of needs that Gentoo |
37 |
meets, I believe it would be somewhat wasted work to add the option |
38 |
when users are already expected to read manpages and the Handbook. |
39 |
Perhaps -avuND should be made more obvious in a place or two in the |
40 |
documentation as a sort of compromise. |
41 |
|
42 |
Just my two cents, |
43 |
|
44 |
~Daniel |
45 |
-----BEGIN PGP SIGNATURE----- |
46 |
Version: GnuPG v2.0.22 (GNU/Linux) |
47 |
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ |
48 |
|
49 |
iQEcBAEBAgAGBQJSd1/TAAoJEJUrb08JgYgH364H/AqgN1bSxltry7kZbAWqT7hb |
50 |
CtNuCNKv5cChmUuq8YmEmdq1B8fJK6YQ0OieNt19MHQsOe9GWml1lMqfXzzmV63w |
51 |
GgsIxIs5QjNtfIYeDUVqJpxzmNcFRndJjp7AEgFiiujtl42p5OQGJfJVjAf197tR |
52 |
DPju9kZMbO62KyUD7pn5xc6T6RBW8xzsniRaBXAR3C3bLaJtFVHO7Dtk8ki6DELf |
53 |
ES+vszWdMFCP6GiOULuHSkTnsnrPAEhEHdHcRDSTHOcpMlTx4qEO43dK1f1FkOGx |
54 |
oXIVvgB8LNP2DgBmWeqK63UBP/01zl4XuKjHFtHJpWJluE6z1PaspF216HP7esc= |
55 |
=XaI0 |
56 |
-----END PGP SIGNATURE----- |