1 |
On 20/02/2022 14:54, Arve Barsnes wrote: |
2 |
> On Sun, 20 Feb 2022 at 15:40, Dr Rainer Woitok<rainer.woitok@×××××.com> wrote: |
3 |
>> But if I understand the "emerge" manual page correctly, "--changed-deps" |
4 |
>> causes a rebuild of a package, if one of its dependencies has been re- |
5 |
>> build, even though the package does not require the newer version of the |
6 |
>> dependency. So does it really make sense to have this option hardcoded |
7 |
>> in a script? Or does it just cause plenty of package rebuilds without |
8 |
>> any real effect? Likewise, what about "--deep"? Should I keep it? |
9 |
> "--deep" seems like a good idea, to minimise the chance of trouble, |
10 |
> but "--changed-deps" does indeed seem excessive. |
11 |
> |
12 |
> I also have "--oneshot" in my updates, although I'm not sure if this |
13 |
> actually makes a difference on a world update. |
14 |
|
15 |
Oneshot just stops stuff being added by default to the world file, so on |
16 |
an update it'll have no effect whatsoever. |
17 |
> |
18 |
> I also have "--backtrack=100" to minimise the risk of portage not |
19 |
> being able to find an upgrade path for some troublesome package. Just |
20 |
> as "--deep" it will add to the time portage needs to calculate what |
21 |
> packages to update, but it feels like I've had less instances of |
22 |
> upgrade path troubles since adding it to my regular world update |
23 |
> command. |
24 |
|
25 |
:-) yes it seems most of my problems get solved by increasing backtrack |
26 |
so maybe I ought to do that too ... |
27 |
|
28 |
What I'd also like is an option --dont-stop. Similar to keep-going, it |
29 |
would kick in earlier. Keep-going only kicks in once the real emerge is |
30 |
running. What I would like with dont-stop is if the dependency |
31 |
calculation gives up, it would start emerging whatever it's found so |
32 |
far. I've found when things really go pear-shaped updating a system for |
33 |
the first time in yonks, looking at and updating what's updateable |
34 |
enables the next attempt to get a little further, etc etc, until |
35 |
suddenly everything updates. |
36 |
|
37 |
So basically, dont-stop would update everything it can. |
38 |
|
39 |
Cheers, |
40 |
Wol |