1 |
Dr Rainer Woitok wrote: |
2 |
> Greetings, |
3 |
> |
4 |
> some time back it was pointed out on this list to only use "--changed- |
5 |
> use" rather than "--newuse". So I've meanwhile removed this option (and |
6 |
> also a few others) from my update script which I had created early after |
7 |
> installing Gentoo. It now basically runs |
8 |
> |
9 |
> $ sudo emerge --ask --verbose-conflicts --changed-deps \ |
10 |
> --changed-use --deep --update @world |
11 |
> |
12 |
> But if I understand the "emerge" manual page correctly, "--changed-deps" |
13 |
> causes a rebuild of a package, if one of its dependencies has been re- |
14 |
> build, even though the package does not require the newer version of the |
15 |
> dependency. So does it really make sense to have this option hardcoded |
16 |
> in a script? Or does it just cause plenty of package rebuilds without |
17 |
> any real effect? Likewise, what about "--deep"? Should I keep it? |
18 |
> |
19 |
> Sincerely, |
20 |
> Rainer |
21 |
> |
22 |
> |
23 |
|
24 |
|
25 |
I been using Gentoo since about 2003. Over the years, I've learned what |
26 |
gives the most stable system even if it requires rebuilding packages as |
27 |
a extra step. I have some options in make.conf, such as --oneshot which |
28 |
keeps a clean world file, so I don't always have to do a lot of typing. |
29 |
I copied this from the emerge.log so it gives a complete output of |
30 |
options when I do a world update. |
31 |
|
32 |
|
33 |
emerge --newuse --oneshot --unordered-display --update --ask |
34 |
--backtrack=100 --deep --keep-going --with-bdeps=y --quiet-build=y |
35 |
--regex-search-auto=y --verbose world |
36 |
|
37 |
|
38 |
On occasion, I have to increase backtrack but about 99% of the time, 100 |
39 |
is enough. When I run into problems I can't seem to get through any |
40 |
other way, I tend to do a emerge -e world. Just in the last week or so, |
41 |
I ran into a USE flag problem that sent me in circles. After a while, I |
42 |
just did a emerge -e world and emerge was able to find a path that |
43 |
allowed me to get everything up to date and reinstall some packages I |
44 |
had removed, trying to get a clean output. I was then able to run |
45 |
--depclean which removed several packages. |
46 |
|
47 |
One thing I've learned, shortcuts sometimes cause problems. A program |
48 |
may crash, be slow or do other strange things. Over the years, I've |
49 |
found that weekly updates are easier than monthly. Over time, I've |
50 |
found that the options I use give me a really stable system. Sometimes |
51 |
my uptimes are months to almost a year on occasion. My biggest reason |
52 |
for rebooting, power failure. I'm also bad to stay logged in and keep |
53 |
programs running until my weekly updates are done. I logout, restart |
54 |
services until things are reloaded with new versions and then log back |
55 |
in. I don't do a lot of logouts and back ins. |
56 |
|
57 |
How you do things really depends on what you want in the end. If you |
58 |
really want a rock solid system, it may require rebuilding more packages |
59 |
than doing things a easy and fast way. In most cases, the fast and easy |
60 |
way may work fine. There will likely be exceptions to that rule tho. |
61 |
|
62 |
If you are on a laptop or a system that has less than great cooling, |
63 |
that raises a whole new way of viewing things. I wouldn't do updates on |
64 |
a laptop the way I do on this desktop. I have massive cooling on this |
65 |
system with my CPU rarely reaching 125F when all cores are at 100%, such |
66 |
as compiling gcc, libreoffice, Firefox etc. I don't mind pushing this |
67 |
thing a bit because the chance of overheating is basically zero. I have |
68 |
a older Cooler Master HAF-932 case with all fans installed and running. |
69 |
Large CPU cooler to. Dang thing barely fits in this large case. |
70 |
|
71 |
Others have given some good options. They may work better depending on |
72 |
your situation. Then again, you may like part of mine or all of mine. |
73 |
Just pick and chose what you like best. |
74 |
|
75 |
Hope that helps. |
76 |
|
77 |
Dale |
78 |
|
79 |
:-) :-) |