1 |
Am 21.02.2022 um 22:48 schrieb Neil Bothwick: |
2 |
> On Mon, 21 Feb 2022 22:26:30 +0100, hitachi303 wrote: |
3 |
> |
4 |
>> When running an update after a long long time my approach is as follows: |
5 |
>> |
6 |
>> emerge -av --depclean <every huge program which will be updated anyway. |
7 |
>> Stuff like firefox, thunderbird, etc.> |
8 |
> |
9 |
> You don't need to unmerge them, just add --exclude "firefox thunderbird |
10 |
> etc" to your emerge command. |
11 |
|
12 |
I have never used --exclude before. I'll try it out soon. I unmerge them |
13 |
so that in the next step --depclean --with-bdeps=n will also get rid of |
14 |
all dependencies and build-time dependencies. |
15 |
|
16 |
>> |
17 |
>> emerge -a --depclean --with-bdeps=n |
18 |
>> |
19 |
>> only then when there are as few programs installed as possible I run |
20 |
>> emerge --sync |
21 |
>> |
22 |
>> emerge -Dua --reinstall changed-use @world |
23 |
> |
24 |
> If it's been a while, it may be easier to update @system first. |
25 |
|
26 |
Most likely the first steps will be eselect news read and emerge -a1 portage |
27 |
I have never been to lucky with @system. Often I do have more problems |
28 |
to update @system than to update @world. Sometimes I think that @system |
29 |
contains atoms which do not belong there. Might be a feeling and I never |
30 |
looked into it. |
31 |
|
32 |
>> maybe I have to deal with trouble here |
33 |
>> |
34 |
>> dispatch-conf |
35 |
>> |
36 |
>> emerge -a --depclean --with-bdeps=y |
37 |
>> --with-bdeps=y shouldn`t do anything |
38 |
>> |
39 |
>> revdep-rebuild -i -- --ask |
40 |
>> |
41 |
>> glsa-check -t all |
42 |
> |
43 |
> You can run this straight after syncing, it may mean you want to update |
44 |
> affected programs before doing the rest of @world. |
45 |
|
46 |
Your suggestion seems to be a better way. I'll change that. |
47 |
|
48 |
>> Maybe there is a better way or I've missed some new ways of updating. |
49 |
> |
50 |
> |