1 |
Hello, Rainer. |
2 |
|
3 |
On Tue, Jul 27, 2021 at 11:28:05 +0200, Dr Rainer Woitok wrote: |
4 |
> Alan, |
5 |
|
6 |
> On Monday, 2021-07-26 19:01:21 +0000, you wrote: |
7 |
|
8 |
> > ... |
9 |
> > The warning was not very explicit. An explicit warning would have said |
10 |
> > "--depclean is capable of removing critical system packages". As it |
11 |
> > happened I didn't ignore the warning. But some people might. |
12 |
|
13 |
> > You seem to see nothing wrong with an OS being one keypress away from |
14 |
> > destroying itself. I do. |
15 |
|
16 |
> You mentioned in an earlier post that you not only got this warning for |
17 |
> "openrc" but also for "nano". I remember that after my first Gentoo in- |
18 |
> stall ever, I explicitly emerged the packages "vim" (as an emergency |
19 |
> fallback) and -- more importantly -- "XEmacs" which were thus added to |
20 |
> "@world". |
21 |
|
22 |
Just as a matter of interest (I am an Emacs maintainer), are you still |
23 |
using XEmacs? |
24 |
|
25 |
> I then ran my very first "emerge --ask --depclean" and got that |
26 |
> warning about "nano". I do not remember the exact wording, but -- |
27 |
> honestly -- I was startled. Not very explicit? When "emerge" is |
28 |
> tell- ing me that removing "nano" might result in my system becoming |
29 |
> unusable? Or something to that effect? Being a Gentoo novice then, |
30 |
> I immediately replied "n", researched the webs, and then with a bit |
31 |
> more knowledge and conscience I rerun "emerge --ask --depclean" and |
32 |
> bravely typed "y". |
33 |
|
34 |
> You were startled, too, when reading that warning, so where exactly is |
35 |
> the problem? Had I wanted a third editor I'd have stuffed "nano" into |
36 |
> "@world", but I didn't. Since you want "openrc", you should. |
37 |
|
38 |
The problem is that the documentation doesn't warn about the potential |
39 |
loss of critical packages. Only runtime messages which could easily |
40 |
have scrolled off the screen. Heck, when I first ran --depclean, there |
41 |
were something like 220 packages to be removed. It would be very easy |
42 |
to have missed openrc. (Shameless plug) only my kernel patch which |
43 |
restores soft scroll enabled me to scroll back and see the warning. |
44 |
|
45 |
The other problem is that, as (I think) Scott Adams, the creator of |
46 |
Dilbert, has said, everybody is an idiot. Just not 24 hours a day. The |
47 |
very fact that --depclean can remove the active init system means it |
48 |
will catch somebody at a time when he is being an idiot. |
49 |
|
50 |
I know I'm repeating myself, but I don't think an OS should ever delete |
51 |
critical parts of itself unless explicitly requested by the user. |
52 |
Perhaps not even then, but I wouldn't go that far. The fact that |
53 |
portage does this means IMHO that something has gone wrong. Maybe |
54 |
portage is too complicated, and people aren't aware of the lack of |
55 |
safety catches. |
56 |
|
57 |
> And yes, some people tend to ignore warnings. In particular, if there |
58 |
> are just too many of them. |
59 |
|
60 |
Yes. I wonder just how many people really do read the "Waschzettel" |
61 |
which accompanies all pharmaceuticals in Germany? It takes some |
62 |
commitment and patience to do so, but might be very important. |
63 |
|
64 |
> I remember when back in the old days plenty of sources suggested to |
65 |
> put "alias rm='rm -i'" into one's profile. I always objected to |
66 |
> this, because you'd get so used to typing "y" to the plethora of |
67 |
> questions that you'd have an excellent chance to miss the one file |
68 |
> which would have been worth retaining. |
69 |
|
70 |
> So the most important rule when working with computers still is "Read |
71 |
> carefully, think carefully, then type carefully". More warnings, bigger |
72 |
> fonts or red colour simply don't cut it. Or are you skimming your "gcc" |
73 |
> compilation logs after doing your weekly Gentoo upgrade for every warn- |
74 |
> ing in order to then check the source code to see whether or not you |
75 |
> should do anything about it? I don't. |
76 |
|
77 |
OK. Respectfully, I think I disagree with you here. Who'd have thought |
78 |
it? Two Gentoo users disagreeing about something. ;-) |
79 |
|
80 |
> My two cents ... |
81 |
|
82 |
Much appreciated, thanks. |
83 |
|
84 |
> Sincerely, |
85 |
> Rainer |
86 |
|
87 |
-- |
88 |
Alan Mackenzie (Nuremberg, Germany). |